summaryrefslogtreecommitdiffstats
path: root/games/fortune
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2010-01-04 05:27:49 +0000
committerdavidxu <davidxu@FreeBSD.org>2010-01-04 05:27:49 +0000
commitbbf7e232eab024b4eed6bdf9d12e8ec7ef7221b2 (patch)
tree2c11cb1412754f9ba89ec026a549d0b5021ce605 /games/fortune
parent0a8208022f3b188cc1acc527d07c6576f87ad047 (diff)
downloadFreeBSD-src-bbf7e232eab024b4eed6bdf9d12e8ec7ef7221b2.zip
FreeBSD-src-bbf7e232eab024b4eed6bdf9d12e8ec7ef7221b2.tar.gz
Add user-level semaphore synchronous type, this change allows multiple
processes to share semaphore by using shared memory area, in simplest case, only one atomic operation is needed in userland, waiter flag is maintained by kernel and userland only checks the flag, if the flag is set, user code enters kernel and does a wakeup() call. Move type definitions into file _umtx.h to minimize compiling time. Also type names need to be prefixed with underline character, this would reduce name conflict (still in progress).
Diffstat (limited to 'games/fortune')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud