NetBSD/sys/compat
manu e8f2e051a3 - When requested a semamphore count, the userlands expects the kernel to
return the number of processes waiting on the semaphore. We now maintiain
a count of waiting processes.
- Blocked processes are unblocked "first in, first out". We now have a
queue of waiting processes on a asemaphores, so that we can wakeup the
first blocked process.

Problems:
- We now have a lot of dynamic memory allocation, it may be a bit slow.
- Nothing is SMP safe for now. We need to add locks.
- On close, we forget about a semaphore, which is incorrect. One process
  can close its fd attached on a semaphore, but other processes  would carry
  on using it. Since any process can join a shared arena, this is not an
  easy thing to solve.
- A lot of usema/usync functionnalities are still to be discovered.
2002-05-26 21:37:12 +00:00
..
aout Regen. 2002-05-03 00:22:16 +00:00
aoutm68k Regen. 2002-05-03 00:22:16 +00:00
common build the netbsd32_compat* objects into libcompat.a, so they are available 2002-04-29 09:53:39 +00:00
freebsd Regen. 2002-05-03 00:22:16 +00:00
hpux make signal array handling uniform, and put signal arrays in a separate 2002-03-31 22:22:43 +00:00
ibcs2 make signal array handling uniform, and put signal arrays in a separate 2002-03-31 22:22:43 +00:00
irix - When requested a semamphore count, the userlands expects the kernel to 2002-05-26 21:37:12 +00:00
linux linux_sys_getdents64(): remove the oldcall bug workaround cruft, 2002-05-20 06:45:11 +00:00
m68k4k add RCSIDs (including regeneration of files as appropriate) 2001-11-13 02:07:52 +00:00
mach Fixed compiler warnings that would occur if DEBUG_MACH was not defined. 2001-12-18 19:43:24 +00:00
netbsd32 Add missing prototype for compat_43_netbsd32_sigsetmask. 2002-05-04 12:54:03 +00:00
osf1 Fix compile problem. 2002-04-08 14:51:29 +00:00
ossaudio Make SNDCTL_DSP_POST a nop. It's explicitly *not* supposed to sleep, and as 2001-12-24 00:10:46 +00:00
pecoff Regen. 2002-05-03 00:22:16 +00:00
sunos make the stackgap_{init,alloc} functions MP friendly (i.e. pass struct proc * 2002-03-16 20:43:48 +00:00
sunos32 Add missing const. 2002-05-05 08:23:03 +00:00
svr4 __LP64__ -> _LP64 2002-05-03 01:34:48 +00:00
svr4_32 make signal array handling uniform, and put signal arrays in a separate 2002-03-31 22:22:43 +00:00
ultrix get rid of STACKGAP* shit. 2002-03-16 23:55:57 +00:00
vax1k add RCSIDs (including regeneration of files as appropriate) 2001-11-13 02:07:52 +00:00
Makefile