[#BloombergLP-bslmt-ThreadUtilImpl-04-setSpecific] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThreadUtilImpl-04.adoc[ThreadUtilImpl<Platform::PosixThreads>]::setSpecific :relfileprefix: ../../../ :mrdocs: Associate the specified value with the key for the calling thread. == Synopsis Declared in `<bslmt_threadutilimpl_pthread.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int setSpecific( xref:BloombergLP/bslmt/ThreadUtilImpl-04/Key.adoc[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 [cols="1,4"] |=== | Name| Description | *key* | process‐wide thread‐local key to set | *value* | thread‐local pointer value to associate with `key` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#