[Top][All Lists]

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

Re: No way out.

From: Marius Vollmer
Subject: Re: No way out.
Date: Tue, 13 Dec 2005 22:32:40 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Rob Browning <address@hidden> writes:

> Marius Vollmer <address@hidden> writes:
>> Is there a way to return an exit code with pthread_exit()?
> Doesn't pthread allow that directly?
>   Function: void pthread_exit (void *RETVAL)
> Of course you have to pthread_join() to get the value.

Yes, but what if you do a pthread_exit from the last thread of the
process?  Who is joining that?

GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405

reply via email to

[Prev in Thread] Current Thread [Next in Thread]