From: Mikael Djurfeldt <mdj@kvast.blakulla.net>
Cc: guile-devel@gnu.org
Subject: Re: C level threads...
Date: Mon, 02 Dec 2002 13:57:46 +0100 [thread overview]
Message-ID: <xy7d6okzigl.fsf@linnaeus.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <87u1hx437m.fsf@zagadka.ping.de> (Marius Vollmer's message of "02 Dec 2002 02:30:37 +0100")
OK, a final rant about the new thread API:
I think the names scm_key_setspecific and scm_key_getspecific are
misleading. The sound like they are operations which operate on keys,
but they are not! scm_key_create should be named so because it
creates a key. However, current scm_key_getspecific gets thread
specific *data*. It gets something *using* a key, but it's the thread
data which is the central thing. This is why we have the names
pthread_key_create but pthread_getspecific.
Even if I didn't find the pthread library names more intuitive, I'd
still think it's a better idea to conform to them. Creating slightly
different names only creates confusion.
Mikael
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
prev parent reply other threads:[~2002-12-02 12:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-02 1:30 C level threads Marius Vollmer
2002-12-02 8:24 ` Mikael Djurfeldt
2002-12-02 11:43 ` Mikael Djurfeldt
2002-12-02 17:27 ` Marius Vollmer
2002-12-02 12:57 ` Mikael Djurfeldt [this message]
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
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xy7d6okzigl.fsf@linnaeus.i-did-not-set--mail-host-address--so-tickle-me \
--to=mdj@kvast.blakulla.net \
--cc=djurfeldt@nada.kth.se \
--cc=guile-devel@gnu.org \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).