cancellation variant for uClibc?

Peter S. Mazinger ps.m at gmx.net
Thu Aug 24 01:32:55 UTC 2006


Hello!

There are 2 ways to go with cancellation support
1. use wrapsyscall.c (provide visible __libc_x() in libc, x() in libc 
being not cancellable and use __libc_x() that in libpthread to provide x() 
cancellable (requires proper ordering of libs)
2. go the "NPTL/glibc" way and do the cancellation in libc already

old linuxthreads uses 1., nptl branch the latter (new linuxthreads done by 
me uses 1.)

Question to NPTL porters (users of 2.): why are functions duplicated in 
libpthread that are present in libc already (and are already cancellable)?

Opinions?

Thanks, Peter

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the uClibc mailing list