diff options
author | dfr <dfr@FreeBSD.org> | 2000-07-21 09:31:13 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2000-07-21 09:31:13 +0000 |
commit | a8bebf2b2d07d6e1bbd97ab413d1b435e0784aec (patch) | |
tree | d101fed38ff24e3ef38cdcae7405afffea969965 /lib/libfetch | |
parent | 169165247865d7299941f6117f31ad5277e652be (diff) | |
download | FreeBSD-src-a8bebf2b2d07d6e1bbd97ab413d1b435e0784aec.zip FreeBSD-src-a8bebf2b2d07d6e1bbd97ab413d1b435e0784aec.tar.gz |
Call _thread_init() from pthread_once() if it has not already been called.
This fixes a segfault in some C++ programs which use exceptions before
main() has been called (i.e. from global constructors).
Reviewed by: deischen
Diffstat (limited to 'lib/libfetch')
0 files changed, 0 insertions, 0 deletions