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