简体   繁体   中英

How are pthreads implemented in Linux kernel(>2.6) using NPTL?

I have come across the POSIX-compliant NPTL(native posix thread library) been mentioned at several forums. I want to understand how pthreads are implemented with the support of the kernel(linux). Can anyone please provide a reference to a good material that explains the design and implementation of pthreads in linux ?

Thanks

Look at this paper of design and implementation of NPTL by Ulrich Drepper and Ingo Molnar http://www.akkadia.org/drepper/nptl-design.pdf

I believe a lot had been changed since 2005 and it's not should be used as a reference to point out limitations and shortcomings (that said in header), though it's a great doc about overall design.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM