public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Jamie Guinan <guinan@bluebutton.com>
To: ecos-discuss@sourceware.cygnus.com
Subject: [ECOS] Thread-specific data
Date: Fri, 18 Jun 1999 11:57:00 -0000	[thread overview]
Message-ID: <Pine.LNX.3.96.990618144410.26479B-100000@newt.home.net> (raw)

Hello,

I have a question about thread-specific data in eCos.

I have a library in which I would like to associate
an integer value with the calling thread.

Can the value returned by cyg_thread_new_data_index()
be shared by all threads that want to index thread-specific 
data based on a specific key?

In other words, is it true that the cyg_ucount32 returned
by cyg_thread_new_data_index() is _not_ a per-thread datum 
itself?  I would hope not, but I just wanted to clarify the 
issue.

Thanks,
-Jamie

             reply	other threads:[~1999-06-18 11:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-18 11:57 Jamie Guinan [this message]
1999-06-21  2:33 ` Jonathan Larmour

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=Pine.LNX.3.96.990618144410.26479B-100000@newt.home.net \
    --to=guinan@bluebutton.com \
    --cc=ecos-discuss@sourceware.cygnus.com \
    /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).