If you only want to know if a Windows thread has terminated or not, use the
GetExitCodeThread function (Windows)[
^].
If you want to inform other threads that this one has terminated you can raise an event that is checked by other threads.
But this is not useful with the main (GUI) thread. To inform the main thread, you can use
PostMessage
with a user-defined message. The message can be send to any window by it's handle (e.g. the main window of an application).