Associate the specified value with the key for the calling thread.
Synopsis
Declared in <bslmt_threadutilimpl_pthread.h>
static
int
setSpecific(
Key const& key,
void const* value);
Description
Associate the specified value with the specified thread‐specific key. Return 0 on success, and a non‐zero value otherwise. TBD elaborate on what value represents
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
key |
process‐wide thread‐local key to set |
value |
thread‐local pointer value to associate with |
Created with MrDocs