[PATCH] Add finit_module syscall for Linux
KOSAKI Motohiro
kosaki.motohiro@gmail.com
Fri Jan 25 21:58:00 GMT 2013
>> (*) pthread_kill() must return -ESRCH if target thread was already
>> exited. that imply
>> pthread_self() returns pid like id number, not bare C pointer.
>
> false. that's only required if the impl *detects* the condition, and
> even then only in outdated posix 2001. posix 2008 clarified the issue.
> using kernel tids for pthread_t is a very bad design.
I have no idea how to return -ESRCH if using pointer. Do you have?
More information about the Libc-alpha
mailing list