DragonFly BSD
DragonFly commits List (threaded) for 2005-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/i386/include tls.h src/gnu/usr.bin/cc34/cc_prep/config dragonfly-spec.h src/gnu/usr.bin/cc34/cc_prep/config/i386 dragonfly.h src/lib/csu/i386 crt1.c src/lib/libc/gen tls.c src/lib/libc/i386/sys cerror.S src/lib/libc/include libc_private.h ...


From: David Xu <davidxu@xxxxxxxxxxx>
Date: Thu, 12 May 2005 14:51:06 +0800

Matthew Dillon wrote:


A TCB based critical section is certainly reasonable, and easy for the kernel to access.

There will have a syscall which lets user set userland critical address:
      sys_set_user_critical_addr(int *addr);
kernel should remember the address, before delivering signal to
userland, kernel should read the value at the address, if it
is no-zero, it shouldn't deliver signals whose signal handler is
installed.

David Xu



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]