cy163
August 27th, 2008, 11:15 AM
Hello ALL,
I wonder if it is safe to call a function in a thread, which recursively calls other functions like the following manner.
void thread_func(void*)
{
......
subfunc_1();
......
}
subfunc_1()
{
subfunc_11();
}
subfunc_11()
{
subfunc_111();
}
I wonder if it is safe to call a function in a thread, which recursively calls other functions like the following manner.
void thread_func(void*)
{
......
subfunc_1();
......
}
subfunc_1()
{
subfunc_11();
}
subfunc_11()
{
subfunc_111();
}