Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The problem with that is that a library can't count on pthreads: the application might call clone directly, without going through the libc wrapper, which calls the atfork callbacks.


Very good point; pthread_atfork does not suffice. Thanks for the correction.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: