Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!tektronix!ogcvax!omsvax!icalqa!hplabs!sri-unix!dm@bbn-unix From: dm%bbn-unix@sri-unix.UUCP Newsgroups: net.unix-wizards Subject: Concurrent C Message-ID: <3813@sri-arpa.UUCP> Date: Wed, 10-Aug-83 00:39:02 EDT Article-I.D.: sri-arpa.3813 Posted: Wed Aug 10 00:39:02 1983 Date-Received: Sat, 6-Aug-83 10:55:11 EDT Lines: 26 From: Dave Mankins Hello, world. I have an application, written in C, in which I would like to multi-process a single process. Basically, I have an object manager which receives requests from users, and which may send out sub-requests to other managers in order to process the request. Between sending the sub-request and getting the reply the manager is basically idle, even though there may be many user requests pending. One simple solution to this problem is to fork a copy of the object manager for every user-request that comes in, so I can afford to wait for the replies. Processes are cheap in UNIX, but they aren't that cheap. What I really need are concurrent programming techniques in C. Has anyone out there designed, implemented, thought about, or read about doing concurrent programming in C? Anyone ever implemented co-routines in C? Thanks, Dave Mankins ARPA: dm@bbn-unix USENET: ...ucbvax!dm@bbn-unix (I think)