You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is
highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If
there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.
Skip to main content
First page Back Continue Last page Summary Graphic
Thread Private Data
Think of thread private data as global variables, but for exclusive use for a single thread.
Void (*PR_ThreadPrivateDTOR)(void*);
PRStatus PR_NewThreadPrivateIndex( int *ndx, (dtor));
PRStatus PR_SetThreadPrivate( ndx, *priv );
void* PR_GetThreadPrivate( ndx );
See: mozilla/nsprpub/pr/tests/tpd.c
Notes: