PERFORCE change 67982 for review
David Xu
davidxu at FreeBSD.org
Fri Dec 31 06:59:11 PST 2004
http://perforce.freebsd.org/chv.cgi?CH=67982
Change 67982 by davidxu at davidxu_tiger on 2004/12/31 14:58:38
follow the changes made in header file.
Affected files ...
.. //depot/projects/davidxu_thread/src/lib/libthread/thread/thr_init.c#5 edit
Differences ...
==== //depot/projects/davidxu_thread/src/lib/libthread/thread/thr_init.c#5 (text+ko) ====
@@ -288,6 +288,7 @@
__sys_sigprocmask(SIG_SETMASK, &sigset, &oldset);
_thr_signal_init();
_thread_inited = 1;
+ SIGDELSET(oldset, SIGCANCEL);
__sys_sigprocmask(SIG_SETMASK, &oldset, NULL);
}
}
@@ -355,8 +356,6 @@
thread->cleanup = NULL;
thread->flags = 0;
thread->sigbackout = NULL;
- thread->continuation = NULL;
- thread->wakeup_time.tv_sec = -1;
thread->state = PS_RUNNING;
thread->uniqueid = 0;
@@ -406,7 +405,7 @@
/* reinitialized in thr_fork.c */
#if 0
_thr_spinlock_init();
- _thr_mutex_reinit(&_thr_atfork_mutex);
+ _mutex_reinit(&_thr_atfork_mutex);
#endif
}
More information about the p4-projects
mailing list