DragonFly BSD
DragonFly commits List (threaded) for 2005-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/lib/libthread_xu Makefile pthread.map src/lib/libthread_xu/arch Makefile.inc src/lib/libthread_xu/arch/alpha Makefile.inc src/lib/libthread_xu/arch/alpha/alpha pthread_md.c src/lib/libthread_xu/arch/alpha/include pthread_md.h src/lib/libthread_xu/arch/amd64 ...


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Wed, 2 Feb 2005 13:44:32 +0100
Mail-followup-to: commits@crater.dragonflybsd.org

On Tue, Feb 01, 2005 at 10:05:13PM -0800, Matthew Dillon wrote:
>     So something like this:
> 
>     __sys_set_exit_data(int *addr, int data);
> 
>     Defined to be:
> 
>     "When a process exits the system will store the specified data into the
>     specified address.  Only one address may be registered per process.
>     The feature can be disabled by passing addr = NULL.
> 
>     In an rfork/thread baesd system this may be used to detect abnormal 
>     process exits and to synchronize stack resource reuse with normal thread
>     termination."

What about something similiar to SIGCHLD?

Joerg

> 
>     How's that?
> 
> 					-Matt
> 					Matthew Dillon 
> 					<dillon@xxxxxxxxxxxxx>



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