Return the calling thread's value associated with the specified key.
Return the value associated with the specified thread-specific key. Note that if the key is not valid, a value of zero is returned, which is indistinguishable from a valid key with a 0 value.
the thread-local value associated with key
| Name | Description |
|---|---|
| key | process-wide thread-local key to query |