]> pd.if.org Git - pdclib/blobdiff - opt/nothread/tss_set.c
* Change the style of inclusion of the internal/ headers. Modern preprocessors
[pdclib] / opt / nothread / tss_set.c
diff --git a/opt/nothread/tss_set.c b/opt/nothread/tss_set.c
new file mode 100644 (file)
index 0000000..feea85d
--- /dev/null
@@ -0,0 +1,7 @@
+#include <threads.h>\r
+\r
+int tss_set(tss_t key, void *val)\r
+{\r
+       key.self->value = val;\r
+       return thrd_success;\r
+}
\ No newline at end of file