]> pd.if.org Git - nbds/blobdiff - include/runtime.h
work in progress
[nbds] / include / runtime.h
index e453fecac9b9425123b05170c7e0c10f5b22df29..4fe4cbf67558a989081f48b996e50b5b61e80912 100644 (file)
@@ -8,11 +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);
+void nbd_thread_init (void);
 uint64_t nbd_rand (void);
-uint64_t nbd_rand_seed (int i);
-int nbd_next_rand (uint64_t *r);
 
 #endif//RUNTIME_H