kabilius
June 25th, 2008, 09:24 AM
Hi all,
I am a little confused on how thread works in Win32.
Let's say I have 2 threads - thread A and B
Here is the scenario:
Thread A is the main thread.
Thread B launches when a thread A discovered a MessageBox needs to be displayed.
Then thread B display the MessageBox.
In this scenario, I understand that thread B is stuck until an end user dismiss the MessageBox, but is thread A running freely? or is it stuck as well?
Please advise,
Thank you,
kab
I am a little confused on how thread works in Win32.
Let's say I have 2 threads - thread A and B
Here is the scenario:
Thread A is the main thread.
Thread B launches when a thread A discovered a MessageBox needs to be displayed.
Then thread B display the MessageBox.
In this scenario, I understand that thread B is stuck until an end user dismiss the MessageBox, but is thread A running freely? or is it stuck as well?
Please advise,
Thank you,
kab