From: palazzol@comcast.net
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>, 9fans@9fans.net
Subject: Re: [9fans] Threading Model Questions
Date: Tue, 20 May 2008 21:21:55 +0000 [thread overview]
Message-ID: <052020082121.23996.483340F30003B14000005DBC2206998499040196960E040E9F@comcast.net> (raw)
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 <quanstro@quanstro.net>
> > 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
>
>
next reply other threads:[~2008-05-20 21:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-20 21:21 palazzol [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-05-20 14:10 palazzol
2008-05-20 18:50 ` erik quanstrom
2008-05-21 0:37 ` Russ Cox
2008-05-28 5:36 ` Frank Palazzolo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=052020082121.23996.483340F30003B14000005DBC2206998499040196960E040E9F@comcast.net \
--to=palazzol@comcast.net \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).