06.08.2013 Views

Threads in the new ISO C Standard from 2011

Threads in the new ISO C Standard from 2011

Threads in the new ISO C Standard from 2011

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Thread Specific Storage Functions<br />

<strong>in</strong>t tss_create(tss_t* key, void (*dtor)(void*));<br />

void tss_delete(tss_t key);<br />

void* tss_get(tss_t key);<br />

<strong>in</strong>t tss_set(tss_t key, void* value);<br />

Jonas Skeppstedt (js@cs.lth.se) Lecture 6 2013 70 / 70

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!