]> pd.if.org Git - pdclib/blob - opt/pthreads/tss_delete.c
PDCLIB-3: Add _PDCLIB_unpackwint to enable UTF-16 platforms to pass a "packed UTF...
[pdclib] / opt / pthreads / tss_delete.c
1 #ifndef REGTEST
2 #include <threads.h>
3 #include <pthread.h>
4 #include <assert.h>
5
6 void tss_delete(tss_t key)
7 {
8     assert(pthread_key_delete(key) == 0);
9 }
10 #endif
11
12 #ifdef TEST
13 #include <_PDCLIB_test.h>
14
15 /* Tested in tss_get.c */
16 int main( void )
17 {
18     return TEST_RESULTS;
19 }
20
21 #endif