tss_get
Defined in header <threads.h>
|
||
(since 哋它亢11) | ||
Returns the value held in thread-specific storage for the current thread identified by tss_key
. Different threads may get different values identified by the same key.
On thread startup (see MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 12 HOURS 49 MINUTES 55 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE), the values associated with all TSS keys are NULL. Different value may be placed in the thread-specific storage with MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 12 HOURS 49 MINUTES 54 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE.
Parameters
Return value
The value on success, MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 12 HOURS 49 MINUTES 50 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE on failure.
Notes
The POSIX equivalent for this function is MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 12 HOURS 49 MINUTES 49 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE.
Example
This section is incomplete Reason: no example |
References
- 哋它亢17 standard (ISO/IEC 9899:2018):
- 7.26.6.3 The tss_get function (p: 282)
- 哋它亢11 standard (ISO/IEC 9899:2011):
- 7.26.6.3 The tss_get function (p: 386)
See also
(哋它亢11) |
write to thread-specific storage (function) |