diff options
| author | Daniel Eischen <deischen@FreeBSD.org> | 1999-12-04 22:55:59 +0000 |
|---|---|---|
| committer | Daniel Eischen <deischen@FreeBSD.org> | 1999-12-04 22:55:59 +0000 |
| commit | 4fc937ef8faccd6ab8cfd61b2c55568600240dcf (patch) | |
| tree | 22995a2eadec654f9d41573da79e5d83a67308fa /lib/libpthread/thread/thr_fork.c | |
| parent | 6f59da2daa22d6dfe394395c310d2c2130996a72 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_fork.c')
| -rw-r--r-- | lib/libpthread/thread/thr_fork.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libpthread/thread/thr_fork.c b/lib/libpthread/thread/thr_fork.c index 155416e2ec3a..b8d72dc00da2 100644 --- a/lib/libpthread/thread/thr_fork.c +++ b/lib/libpthread/thread/thr_fork.c @@ -164,6 +164,9 @@ fork(void) } } + /* Treat the current thread as the initial thread: */ + _thread_initial = _thread_run; + /* Re-init the dead thread list: */ TAILQ_INIT(&_dead_list); |
