As pointed out by Mark-Jan Bastian, the sem code should check for negative timeout...
commit9d4ab9db150701bd8a4300d63ad279cfde849d00
authorTravis Geiselbrecht <geist@newos.org>
Wed, 2 Jan 2002 08:00:26 +0000 (2 08:00 +0000)
committerTravis Geiselbrecht <geist@newos.org>
Wed, 2 Jan 2002 08:00:26 +0000 (2 08:00 +0000)
treec98e90996f6207c7a87bcc290653bdb173bcee8b
parent0ae4f77af35faab6dbf8bbc5d0c5c28d7b6eee5b
As pointed out by Mark-Jan Bastian, the sem code should check for negative timeout to sem_acquire_etc. Also, made the timer code check for negative relative timeout value, just to be sure.

git-svn-id: svn+ssh://newos.org/var/svn/newos/newos@360 c25cc9d1-44fa-0310-b259-ad778cb1d433
kernel/sem.c
kernel/timer.c