Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!cme!libes From: libes@cme.nbs.gov (Don Libes) Newsgroups: comp.lang.c Subject: Re: threads for C/C++ under Unix? Message-ID: <1712@muffin.cme.nbs.gov> Date: 10 Oct 89 16:58:42 GMT References: <12298@polya.Stanford.EDU> <6486@ficc.uu.net> Reply-To: libes@cme.nist.gov (Don Libes) Organization: National Institute of Standards and Technology Lines: 24 In article <6486@ficc.uu.net> peter@ficc.uu.net (Peter da Silva) writes: >In article <12298@polya.Stanford.EDU> hall@eclipse.stanford.edu (Keith Hall) writes: >> 1. Does a portable preemptive thread package for Unix, such as >> described above, exist? > >There isn't even a portable non-preemptive threads package. There isn't >even a co-routine package. ConcurrenC is preemptive thread package for UNIX based on Xinu. It is not entirely portable, but it is as close as possible. Here is the relevant stuff from a posting by Ken Rodemann in comp.os.xinu: ...Unix C library routines are made mutual exclusive, and a blocking I/O ConcurrenC task does not block other tasks in the system. The ConcurrenC system includes src for the Xinu/ConcurrenC routines, source for modified Unix C library routines, and manual pages which list the Xinu name changes within ConcurrenC, restricted Unix system calls, etc. I suggest you read/write the xinu-info@purdue.edu mailing list for more info. Don Libes libes@cme.nist.gov ...!uunet!cme-durer!libes