POSIX threads documentation

Florian Weimer fweimer@bfk.de
Mon Sep 13 15:01:00 GMT 2010


* Andreas Schwab:

> There is no need for that, all relevant pthread functions are available
> in libc (as stubs that forward to libpthread if loaded).

Is this guaranteed to be the case?  Which was the first libc version
to make that guarantee?

Unfortunately, pthread_once is missing from the stub list and can't be
added without degrading libstdc++ performance (because it uses
pthread_once to detect threading).

-- 
Florian Weimer                <fweimer@bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99



More information about the Libc-help mailing list