Lines Matching refs:closure
47 # define xthread_fork(func,closure) cthread_fork(func,closure) argument
76 # define xthread_fork(func,closure) thr_create(NULL,0,func,closure,THR_NEW_LWP|THR_DETACHED,NULL) argument
112 # define xthread_fork(func,closure) { \ argument
114 CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)func, (LPVOID)closure, 0, \
172 # define xthread_fork(func,closure) { pthread_t _tmpxthr; \ argument
173 pthread_create(&_tmpxthr,NULL,func,closure); }
202 # define xthread_fork(func,closure) { thr_t _tmpxthr; \ argument
204 thr_create(&_tmpxthr,NULL,func,closure); }
238 # define xthread_fork(func,closure) { pthread_t _tmpxthr; \ argument
239 pthread_create(&_tmpxthr,NULL,func,closure); }
247 # define xthread_fork(func,closure) { pthread_t _tmpxthr; \ argument
248 pthread_create(&_tmpxthr,pthread_attr_default,func,closure); }