> 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