Subject: CVS commit: src/lib/libpthread
To: None <source-changes@netbsd.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 04/28/2003 17:46:32
Module Name: src
Committed By: nathanw
Date: Mon Apr 28 17:46:31 UTC 2003
Modified Files:
src/lib/libpthread: pthread.c
Log Message:
Move call to pthread__alarm_init() from pthread_init() (called at load
time) to pthread__start() (called on the first call of
pthread_create()), so that there's no opportunity for a fork() to
clear the per-process timer.
Problem pointed out by a test program from Mihai CHELARU on
current-users.
To generate a diff of this commit:
cvs rdiff -r1.17 -r1.18 src/lib/libpthread/pthread.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.