public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Thread-specific data
@ 1999-06-18 11:57 Jamie Guinan
  1999-06-21  2:33 ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: Jamie Guinan @ 1999-06-18 11:57 UTC (permalink / raw)
  To: ecos-discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-06-21  2:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-18 11:57 [ECOS] Thread-specific data Jamie Guinan
1999-06-21  2:33 ` Jonathan Larmour

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).