Hi,
I am reading about the multithreading concepts for windows. Reading "Jeffrey Richter" book on windows programming.It is recommended that for creating the threads the beginthreadex()should be used instead of CreateThread(). The reason being to make the application thread safe by providing some thread specific data structure association with the thread.
The point is not clear to me as what all other reasons for using the _beginthreadex()over CreateThread(). Can anybody help me out to make it clear ? Association of thread specific block is also not clear to me.
Thanks in advance.
Sanjay
I am reading about the multithreading concepts for windows. Reading "Jeffrey Richter" book on windows programming.It is recommended that for creating the threads the beginthreadex()should be used instead of CreateThread(). The reason being to make the application thread safe by providing some thread specific data structure association with the thread.
The point is not clear to me as what all other reasons for using the _beginthreadex()over CreateThread(). Can anybody help me out to make it clear ? Association of thread specific block is also not clear to me.
Thanks in advance.
Sanjay