[#BloombergLP-bslmt-ThreadUtilImpl-04-deleteKey]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThreadUtilImpl-04.adoc[ThreadUtilImpl&lt;Platform::PosixThreads&gt;]::deleteKey
:relfileprefix: ../../../
:mrdocs:

Delete the specified thread&hyphen;specific `key`&period; Return 0 on success, and a non&hyphen;zero value otherwise&period; 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&period;

== Synopsis

Declared in `&lt;bslmt&lowbar;threadutilimpl&lowbar;pthread&period;h&gt;`

[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]#
