These all have POSIX equivalents, but aside from tss_get, they all have minor changes to the signature or return value and thus need to exist as separate functions.
9 lines
117 B
C
9 lines
117 B
C
#include <threads.h>
|
|
|
|
int __pthread_key_delete(tss_t k);
|
|
|
|
void tss_delete(tss_t key)
|
|
{
|
|
__pthread_key_delete(key);
|
|
}
|