- May 04, 2003
-
-
rswindell authored
Removed YIELD call since we're waiting for ringbuf semaphore instead.
-
rswindell authored
incom() now supports timeout parameter (defaults to 0).
-
rswindell authored
-
rswindell authored
-
rswindell authored
(Ctrl-L).
-
rswindell authored
each write), must define RINGBUF_SEM.
-
rswindell authored
-
deuce authored
The semaphore emulation lib provides for sem_timedwait() which will allow correct blocking calls to be used rather than bogus (On *nix anyways) arbitrary 1-55ms (depending on hardware) wait during a loop to avoid 100% CPU utilization. The xpsem lib uses mutexes to provide semaphore functions and is taken almost line-per-line from FreeBSD. (copyright left intact) **** WARNING **** This commit was performed while drunk. If this breaks your build, I personally guarantee you get to keep all remaning pieces.
-
deuce authored
-
deuce authored
Note: Some systems do not have daemon() noteably Solaris... for these systems, daemon() is in sbbscon... not sure if this will break any utils ion those platforms or not.
-
- May 03, 2003
- May 02, 2003
-
-
deuce authored
threadwrap.h where they belong.
-
deuce authored
-
rswindell authored
-
rswindell authored
-
rswindell authored
-
deuce authored
-
rswindell authored
-
rswindell authored
-
rswindell authored
-
rswindell authored
-
rswindell authored
-
rswindell authored
-
deuce authored
threads.
-
deuce authored
-
deuce authored
tested on more OSs (Currently, the added functions fail on Linux)
-
rswindell authored
to security, credits, etc. immediately effective.
-
deuce authored
compiled for anyone by me. *Blush*
-
rswindell authored
-
rswindell authored
sem_trywait and sem_trywait_block need to return -1 on error and set errno.
-
rswindell authored
-
- May 01, 2003
-
-
rswindell authored
-
rswindell authored
Created (non-POSIX) sem_trywait_block implementation for Win32 (need to investigate/implement draft-POSIX sem_timedwait function).
-
rswindell authored
Created MAYBE_YIELD macro to perform the function of a Sleep(0) on Win32 or sched_yield/pthread_yield on Unix (does not lower CPU utilization).
-
rswindell authored
-
rswindell authored
-
rswindell authored
-
rswindell authored
permanently locked under some circumstances on Win32.
-
rswindell authored
deleted after QWK-packing.
-