Date: Fri, 31 Dec 2004 14:59:10 GMT From: David Xu <davidxu@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 67982 for review Message-ID: <200412311459.iBVExAX4009352@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=67982 Change 67982 by davidxu@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 }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412311459.iBVExAX4009352>