Return the calling thread's value associated with the specified key.
Synopsis
Declared in <bslmt_threadutilimpl_pthread.h>
static
void*
getSpecific(Key const& key);
Description
Return the value associated with the specified thread‐specific key. Note that if the key is not valid, a value of zero is returned, which is indistinguishable from a valid key with a 0 value.
Return Value
the thread‐local value associated with key
Parameters
Name |
Description |
key |
process‐wide thread‐local key to query |
Created with MrDocs