Re: cvs commit: src/lib/libthread_xu Makefile pthread.map src/li

看板DFBSD_commit作者時間21年前 (2005/02/03 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串16/24 (看更多)
Joerg Sonnenberger wrote: > 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? > It is better to avoid signal wrapper in thread library, simplicity is better.
文章代碼(AID): #120HMK00 (DFBSD_commit)
討論串 (同標題文章)
完整討論串 (本文為第 16 之 24 篇):
文章代碼(AID): #120HMK00 (DFBSD_commit)