]> pd.if.org Git - nbds/blobdiff - include/runtime.h
work in progress
[nbds] / include / runtime.h
index c9db783e4a4a806b110f78a742796790b5c256d7..4fe4cbf67558a989081f48b996e50b5b61e80912 100644 (file)
@@ -1,4 +1,4 @@
-/* 
+/*
  * Written by Josh Dybnis and released to the public domain, as explained at
  * http://creativecommons.org/licenses/publicdomain
  */
@@ -8,9 +8,7 @@
 #include <pthread.h>
 #include "tls.h"
 
-extern DECLARE_THREAD_LOCAL(tid_, int);
-
-int nbd_thread_create (pthread_t *restrict thread, int thread_id, void *(*start_routine)(void *), void *restrict arg);
-int nbd_rand (void);
+void nbd_thread_init (void);
+uint64_t nbd_rand (void);
 
 #endif//RUNTIME_H