This returns the value that the thread returned upon completing it's execution. Retrieved with pthread_join or GetExitCodeThread.
Win32: GetExitCodeThread Retrieves the termination status of the specified thread.
pthreads: This is set when 'stop' is called from a thread and the pthread_join method retreives the value. If the object is detached, don't expect this to work. Detaching is like releasing a caught fish into water, don't expect to see it again.
Definition at line 889 of file phThread.cpp. |