2 * Written by Josh Dybnis and released to the public domain, as explained at
3 * http://creativecommons.org/licenses/publicdomain
12 DECLARE_THREAD_LOCAL(tid_, int);
14 void nbd_init (void) {
15 INIT_THREAD_LOCAL(tid_, NULL);
20 void nbd_thread_init (int id) {
21 SET_THREAD_LOCAL(tid_, id);