summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2003-12-26 08:16:17 +0000
committermtm <mtm@FreeBSD.org>2003-12-26 08:16:17 +0000
commitdd97c7c8fa6bc63be1c3715c5dfc8a981728d162 (patch)
treee82fd13767afbd3c3f05d29966af62c023d34a05 /lib/libc/gen
parent57cde0f9a725c266d83624b53174fd6d15564985 (diff)
downloadFreeBSD-src-dd97c7c8fa6bc63be1c3715c5dfc8a981728d162.zip
FreeBSD-src-dd97c7c8fa6bc63be1c3715c5dfc8a981728d162.tar.gz
Preparations to make libthr work in multi-threaded fork()ing applications.
o Remove some code duplication between _thread_init(), which is run once to initialize libthr and the intitial thread, and pthread_create(), which initializes newly created threads, into a new function called from both places: init_td_common() o Move initialization of certain parts of libthr into a separate function. These include: - Active threads list and it's lock - Dead threads list and it's lock & condition variable - Naming and insertion of the initial thread into the active threads list.
Diffstat (limited to 'lib/libc/gen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud