use of g_thread_exit

high all,
in a video player application , i create a thread using g_thread_create() .
upon meeting some condition , i exit the thread using g_thread_exit(NULL).
NOW  i want to perform a operation in "int main()" function of my
application only if the above mentioned thread has exited successfully.
is there a way to do this. how can the "int main" know if the created thread
has exited or not.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]