5 void *tss_get(tss_t key)
7 return TlsGetValue(key->_Key);
12 #include "_PDCLIB_test.h"
19 // Todo: make a thread and test destruction!
24 TESTCASE(tss_create(&key, NULL) == thrd_success);
25 TESTCASE(tss_get(key) == NULL);
26 TESTCASE(tss_set(key, &v) == thrd_success);
27 TESTCASE(tss_get(key) == &v);