Concurrent C

dm%bbn-unix at sri-unix.UUCP dm%bbn-unix at sri-unix.UUCP
Wed Aug 10 14:39:02 AEST 1983


From:  Dave Mankins <dm at bbn-unix>

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 at bbn-unix
USENET: ...ucbvax!dm at bbn-unix   (I think)



More information about the Comp.unix.wizards mailing list