Linux System Programming, 2nd Edition
I'm pleased to announce the release of the second edition of Linux System Programming, my guide to system programming on Linux.
I updated the entire book to reflect new interfaces and behavior in the latest versions of the Linux kernel, glibc, and gcc—3.9, 2.17, and 4.8, respectively—as well as giving the text a universal overhaul with even more examples and interesting anecdotes.
What I am most excited about, however, is an all-new chapter on threading. I cover the basics of Pthreads, of course, but the meat of the chapter is a discussion on threading design and patterns in Linux. Should you use event-driven or thread-per-connection as your threading model? How does Linux's threading solutions scale? What are the costs of and alternatives to threading? How can you mitigate the risk of races? And other such fun topics.
Chapters: Introduction & Essential Concepts, File I/O, Buffered I/O, Advanced File I/O, Process Management, Advanced Process Management, Threading, File & Directory Management, Memory Management, Signals, Time.
The paperback format of the book ships on June 4th. Preorder your copy today:
Barnes & Noble: http://www.barnesandnoble.com/w/linux-system-programming-robert-love/1110831152?ean=9781449339531
Directly from O'Reilly: http://shop.oreilly.com/product/0636920026891.do
The ebook version is available today:
Amazon Kindle: https://www.amazon.com/dp/B00CS94J8U/ref=as_li_ss_til?tag=roblov-20&camp=0&creative=0&linkCode=as4&creativeASIN=B00CS94J8U&adid=1YXD7ZPFEKP512KEYY6S&
Directly from O'Reilly (DRM free!): http://shop.oreilly.com/product/0636920026891.do