LWN.net Logo

A look at C++14, part 1

A look at C++14, part 1

Posted Apr 1, 2013 23:03 UTC (Mon) by nix (subscriber, #2304)
In reply to: A look at C++14, part 1 by jwakely
Parent article: A look at C++14, part 1

Indeed. Unfortunately, a lot of programmers don't realize they can use pthread locking functions even without linking to libpthread, getting stubs unless something else has loaded libpthread. The total lack of glibc libpthread documentation might explain this :)

(actually, I can't remember if they're stubs or weak symbols. Stubs, I think, so you don't even need to wrap their uses in null checks.)


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds