diff options
author | mtm <mtm@FreeBSD.org> | 2003-12-26 08:16:17 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2003-12-26 08:16:17 +0000 |
commit | dd97c7c8fa6bc63be1c3715c5dfc8a981728d162 (patch) | |
tree | e82fd13767afbd3c3f05d29966af62c023d34a05 /lib/libcalendar | |
parent | 57cde0f9a725c266d83624b53174fd6d15564985 (diff) | |
download | FreeBSD-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/libcalendar')
0 files changed, 0 insertions, 0 deletions