use of g_thread_exit
- From: Pritesh Kumar <priteshkr tataelxsi co in>
- To: <gtk-list gnome org>
- Subject: use of g_thread_exit
- Date: Mon, 26 Mar 2007 10:21:39 +0530
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.
] [Thread Prev