Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!crdgw1!montnaro From: montnaro@sprite.crd.ge.com (Skip Montanaro) Newsgroups: comp.lang.c Subject: Re: threads for C/C++ under Unix? Message-ID: Date: 12 Oct 89 16:41:56 GMT References: <12298@polya.Stanford.EDU> Sender: news@crdgw1.crd.ge.com Reply-To: (Skip Montanaro) Followup-To: comp.lang.c Organization: GE Corporate Research & Development, Schenectady, NY Lines: 17 In-reply-to: hall@eclipse.stanford.edu's message of 9 Oct 89 18:46:13 GMT In article <12298@polya.Stanford.EDU> hall@eclipse.stanford.edu (Keith Hall) writes: What is the state-of-the-art in terms of a (preferably public domain) portable Unix library that provides *preemptive* (time-sliced) lightweight processes? The C-threads package in Mach would serve as a good model of functionality/interface. You can't have preemptive lightweight processes without kernel support. I know that Stellar's task system is kernel-supported. Ihave no idea how it compares to the C-threads interface. You can make blocking system calls from a task, while other tasks in the same process continue execution. This is not true for task systems that are pure libraries (like Sun's LWP stuff). -- Skip Montanaro (montanaro@crdgw1.ge.com)