Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp Path: utzoo!linus!decvax!decwrl!sun!gnu From: gnu@sun.uucp (John Gilmore) Newsgroups: net.unix-wizards Subject: Re: Wanted: event control for UNIX Message-ID: <1901@sun.uucp> Date: Wed, 26-Dec-84 01:59:05 EST Article-I.D.: sun.1901 Posted: Wed Dec 26 01:59:05 1984 Date-Received: Thu, 27-Dec-84 05:38:39 EST References: <144@chemabs> Organization: Sun Microsystems, Inc. Lines: 14 Bob Richards at chemabs asks: > We are looking for a feature in UNIX which will give event control. > This feature will allow a program to sleep on multiple queues, and to > wake up when any one of the queues has something put into it. The > queues could be TTY I/O, disk I/O or IPC. We are currently using System > V... That last sentence gave it all away. Had you been running 4.2BSD, you wouldn't have to be asking people how to design and build the feature yourself. Berkeley already did it and called it select(). Unix System V: Consider It Broken (flames to /dev/kmem, please.)