From mboxrd@z Thu Jan 1 00:00:00 1970 From: palazzol@comcast.net To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>, 9fans@9fans.net Date: Tue, 20 May 2008 21:21:55 +0000 Message-Id: <052020082121.23996.483340F30003B14000005DBC2206998499040196960E040E9F@comcast.net> Subject: Re: [9fans] Threading Model Questions Topicbox-Message-UUID: ab850d40-ead3-11e9-9d60-3106f5b1d025 Woops, sorry - I actually meant the stuff referenced in the lock(2) man page, which looks like it's not part of libthread. -Frank -------------- Original message ---------------------- From: erik quanstrom > > 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 > >