X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=include%2Fruntime.h;h=ff1d245f3f526663351e72c3804c752e20187a54;hb=7d658a03f83e64690d0c71b4733dd3f9a2c60208;hp=c9db783e4a4a806b110f78a742796790b5c256d7;hpb=a1d0b3ca99552878b1becf561d8f3291992aaa67;p=nbds diff --git a/include/runtime.h b/include/runtime.h index c9db783..ff1d245 100644 --- a/include/runtime.h +++ b/include/runtime.h @@ -12,5 +12,7 @@ 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); +uint64_t nbd_rand_seed (int i); +int nbd_next_rand (uint64_t *r); #endif//RUNTIME_H