it should be easy to done by spawn a thread for each recursive function call
some questions:
1, Do you run the program under windows? If yes, it's OK for me
2, need create a NEW thread for each recursive function call?
e.g. No need any thread pool implementation
If yes, it should be ok for me