Lines Matching refs:starter
433 psx_starter_t *starter = data; in _psx_start_fn() local
434 pthread_sigmask(SIG_SETMASK, &starter->sigbits, NULL); in _psx_start_fn()
435 void *(*fn)(void *) = starter->fn; in _psx_start_fn()
436 void *arg = starter->arg; in _psx_start_fn()
438 memset(data, 0, sizeof(*starter)); in _psx_start_fn()
456 psx_starter_t *starter = calloc(1, sizeof(psx_starter_t)); in __wrap_pthread_create() local
457 starter->fn = start_routine; in __wrap_pthread_create()
458 starter->arg = arg; in __wrap_pthread_create()
467 pthread_sigmask(SIG_UNBLOCK, &sigbit, &starter->sigbits); in __wrap_pthread_create()
480 int ret = __real_pthread_create(thread, attr, _psx_start_fn, starter); in __wrap_pthread_create()
483 memset(starter, 0, sizeof(*starter)); in __wrap_pthread_create()
484 free(starter); in __wrap_pthread_create()