freebsd-src/lib/libpthread
John Polstra 82d29a82b5 Added a new module "uthread_autoinit.cc". This is a small C++ module.
It uses a static constructor to call _thread_init() at program start-up
time.  That eliminates the need for any initialization hooks in crt0.o.

Added a symbol reference in "uthread_init.c", to ensure that the new
module will always be pulled in when the archive version of the library
is used.

In "Makefile.inc", defined CPLUSPLUSLIB, so that the constructor will be
properly invoked in the shared library.

Suggested by: Christopher Provenzano, Peter Wemm, and others.
1996-02-17 02:19:37 +00:00
..
sys Reviewed by: julian 1996-01-22 00:23:58 +00:00
thread Added a new module "uthread_autoinit.cc". This is a small C++ module. 1996-02-17 02:19:37 +00:00
Makefile Reviewed by: julian 1996-01-22 00:23:58 +00:00