Date: Thu, 1 Aug 2002 02:56:48 -0700 (PDT) From: Jonathan Mini <mini@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 15372 for review Message-ID: <200208010956.g719umI6069449@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=15372 Change 15372 by mini@mini_stylus on 2002/08/01 02:56:23 Block all signals from the scheduler. Affected files ... .. //depot/projects/kse/lib/libc_r/uthread/uthread_init.c#4 edit Differences ... ==== //depot/projects/kse/lib/libc_r/uthread/uthread_init.c#4 (text+ko) ==== @@ -282,6 +282,9 @@ _thread_kern_sched_ctx.uc_stack.ss_size = sched_stack_size; makecontext(&_thread_kern_sched_ctx, _thread_kern_scheduler, 1); + /* Block all signals to the scheduler's context. */ + sigfillset(&_thread_kern_sched_ctx.uc_sigmask); + /* * Write a magic value to the thread structure * to help identify valid ones: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208010956.g719umI6069449>