Re: g_thread_exit()

2018-06-27 Thread Chris Vine via gtk-list
losed and the thread is exited using g_thread_exit(). > > however, with so many connections coming and going over all time, > eventually, spawning a new thread results in g_thread_try_new() failing > with the error: "Error creating thread: Resource temporarily unavailabl

g_thread_exit()

2018-06-27 Thread richard boaz via gtk-list
thread to manage the incoming real-time data feed using g_thread_try_new(). i have placed a 30 second timeout on the socket and when this is breached, the socket is closed and the thread is exited using g_thread_exit(). however, with so many connections coming and going over all time, eventually

use of g_thread_exit

2007-03-26 Thread Pritesh Kumar
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

Re: use of g_thread_exit

2007-03-26 Thread jcupitt
On 3/26/07, Pritesh Kumar [EMAIL PROTECTED] wrote: 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.

Re: use of g_thread_exit

2007-03-26 Thread Michael L Torrie
On Mon, 2007-03-26 at 10:21 +0530, Pritesh Kumar wrote: 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

Re: use of g_thread_exit

2007-03-26 Thread Michael L Torrie
On Mon, 2007-03-26 at 13:37 +, [EMAIL PROTECTED] wrote: On 3/26/07, Pritesh Kumar [EMAIL PROTECTED] wrote: 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