From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9a6349726d99241db6e1c6789a91ceb5@quanstro.net> To: 9fans@9fans.net From: erik quanstrom Date: Tue, 20 May 2008 14:50:05 -0400 In-Reply-To: <052020081410.8330.4832DBDE0001F9A00000208A2206998499040196960E040E9F@comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Threading Model Questions Topicbox-Message-UUID: ab7752d6-ead3-11e9-9d60-3106f5b1d025 > 4) Finally, it looks like libthread has support for a lot of non-CSP stuff. Is this part used much? Or is it just there for historical and/or completeness reasons. my simple search through thread.h yielded only these functions that i wouldn't consider either part of thread/proc management, particular csp applications (e.g. io* functions) or genuine csp: long decref(Ref *r); /* returns 0 iff value is now zero */ void incref(Ref *r); void threadnonotes(void); int threadnotify(int (*f)(void*, char*), int in); void yield(void); was there something else you had in mind? - erik