[#BloombergLP-bslmt-ThreadUtilImpl-04-deleteKey] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThreadUtilImpl-04.adoc[ThreadUtilImpl<Platform::PosixThreads>]::deleteKey :relfileprefix: ../../../ :mrdocs: Delete the specified process‐wide thread‐local key. == Synopsis Declared in `<bslmt_threadutilimpl_pthread.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int deleteKey(xref:BloombergLP/bslmt/ThreadUtilImpl-04/Key.adoc[Key]& key); ---- == Description Delete the specified thread‐specific `key`. Return 0 on success, and a non‐zero value otherwise. Note that deleting a key does not delete any data that is currently associated with the key in the calling thread or any other thread. == Return Value 0 on success, and a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *key* | process‐wide thread‐local key to delete |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#