[fpc-devel] Threading support and C library under Linux/Unix

Michael Schnell mschnell at lumino.de
Wed Jun 23 14:15:09 CEST 2010


On 06/23/2010 01:21 PM, Henry Vermaak wrote:
> There are no magic NPTL APIs: both NPTL and LinuxThreads use the
> "clone" system call.
Yep. Additional "clone flags" have been added with newer Kernels (see
"man clone").

Moreover for NPTL there are thread IDs  additional to process IDs Same
can be obtained from the Kernel by some kind of NPTL specific API.

-Michael



More information about the fpc-devel mailing list