[#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 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. == 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); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#