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 unavailable".
>
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
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
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(
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.
g_t
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 su