Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!pacbell!att!cbnews!rock From: rock@cbnews.ATT.COM (Y. Rock Lee) Newsgroups: comp.unix.wizards Subject: Why UNIX doesn't support event? Keywords: event, sleep, wakeup, signal Message-ID: <3921@cbnews.ATT.COM> Date: 9 Feb 89 21:04:37 GMT Distribution: usa Organization: AT&T Bell Laboratories Lines: 23 Most of real time OS's support event on the application level. Inside UNIX KERNEL, one can also sleep on an event(address) and expect to be waken up later by someone else. But, on the user level a process can only sleep on TIME. Of course, it can be simulated on the user level to have a process sleep on an "event" and be waken up by a signal. I just wonder why UNIX doesn't want to give a user process the option to sleep on an event in addition to time? It doesn't seem to be very hard to me to add this feature to UNIX (forget the "real time" part, we don't want to change the scheduler). What is the philosophy behind the design of system call sleep()? Thanks in advance. Rock ------------------------------------- Y. Rock Lee (614) 860-4774 AT&T Bell Labs. Columbus, Ohio UUCP: att!cblpe!rock ARPANET/INTERNET: rock@cbnews.ATT.COM