davidxu 2007-11-21 06:01:01 UTC FreeBSD src repository
Modified files: lib/libthr/thread thr_sem.c Log: Reuse nwaiter member field to record number of waiters, in sem_post(), this should reduce the chance having to do a syscall when there is no waiter in the semaphore. Revision Changes Path 1.11 +31 -7 src/lib/libthr/thread/thr_sem.c _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"