Searched refs:worker_t (Results 1 – 2 of 2) sorted by relevance
344 typedef void *(*worker_t)(void*); typedef346 MyThread(worker_t worker, void *arg = NULL, const char *name = NULL)349 :w_(reinterpret_cast<worker_t>(worker)), arg_(arg), name_(name) {} in w_()351 :w_(reinterpret_cast<worker_t>(worker)), arg_(arg), name_(name) {} in w_()354 void Start() { CHECK(0 == pthread_create(&t_, NULL, (worker_t)ThreadBody, this));} in Start()365 worker_t w_;
254 typedef void* (*worker_t)(void *block); typedef