This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [COMMITTED PATCH 1/3] Clean up NPTL fork to be compat-only.


On Fri, Feb 06, 2015 at 12:18:43PM -0800, Roland McGrath wrote:
> I don't know if there was a historical reason for libpthread to have a
> fork wrapper,

The historical reason was presumably that with libpthread, fork needs
to call pthread_atfork handlers, while the fork in libc (assuming libc
doesn't have pthread_atfork) could be a simple syscall wrapper.

Rich


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]