cvs commit: src/sys/sys proc.h syscall.h syscall.mk sysproto.h umtx.h src/sys/kern init_sysent.c kern_umtx.c syscalls.c syscalls.master

XueFeng Deng dsnofe at yahoo.com.cn
Sat Dec 18 07:15:32 PST 2004


Good job!
thanks.


> davidxu     2004-12-18 12:52:45 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/sys              proc.h syscall.h syscall.mk sysproto.h 
>                          umtx.h 
>     sys/kern             init_sysent.c kern_umtx.c syscalls.c 
>                          syscalls.master 
>   Log:
>   1. make umtx sharable between processes, the way is two or more processes
>      call mmap() to create a shared space, and then initialize umtx on it,
>      after that, each thread in different processes can use the umtx same
>      as threads in same process.
>   2. introduce a new syscall _umtx_op to support timed lock and condition
>      variable semantics. also, orignal umtx_lock and umtx_unlock inline
>      functions now are reimplemented by using _umtx_op, the _umtx_op can
>      use arbitrary id not just a thread id.
>   
>   Revision  Changes    Path
>   1.181     +1 -0      src/sys/kern/init_sysent.c
>   1.19      +544 -170  src/sys/kern/kern_umtx.c
>   1.167     +1 -0      src/sys/kern/syscalls.c
>   1.181     +2 -0      src/sys/kern/syscalls.master
>   1.414     +2 -2      src/sys/sys/proc.h
>   1.164     +3 -2      src/sys/sys/syscall.h
>   1.119     +3 -2      src/sys/sys/syscall.mk
>   1.163     +9 -1      src/sys/sys/sysproto.h
>   1.5       +51 -3     src/sys/sys/umtx.h
> _______________________________________________
> cvs-src at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/cvs-src
> To unsubscribe, send any mail to "cvs-src-unsubscribe at freebsd.org"


-- 
XueFeng Deng <dsnofe at yahoo.com.cn>



More information about the cvs-all mailing list