Added new mutex locker, which is basically a wrapper around
commite7eb82c4fd1128ccc7a578298d92bf25bf2a7a84
authorTravis Geiselbrecht <geist@newos.org>
Tue, 29 May 2001 00:23:57 +0000 (29 00:23 +0000)
committerTravis Geiselbrecht <geist@newos.org>
Tue, 29 May 2001 00:23:57 +0000 (29 00:23 +0000)
tree63928ea01804e30fbfb9058c4096f1256400f055
parent65bc8fe1cf0e739d1eb9a99fb05d5a654690c4b4
Added new mutex locker, which is basically a wrapper around
a semaphore. Should be much faster for cases of low contention.
Less of a big deal in the kernel, but will make much more of
an impact in user space, where it avoids a syscall most of the time.

git-svn-id: svn+ssh://newos.org/var/svn/newos/newos@187 c25cc9d1-44fa-0310-b259-ad778cb1d433
13 files changed:
dev/arch/i386/console/console.c
dev/arch/i386/console/keyboard.c
dev/arch/i386/pci/pci.c
include/kernel/lock.h
include/kernel/vm.h
kernel/arch/i386/arch_vm_translation_map.c
kernel/fs/bootfs.c
kernel/fs/rootfs.c
kernel/heap.c
kernel/lock.c
kernel/vfs.c
kernel/vm/vm.c
kernel/vm/vm_cache.c