Lines Matching refs:pack
85 struct impl_thrd_param pack = *((struct impl_thrd_param *)p);
87 return (void*)(intptr_t)pack.func(pack.arg);
283 struct impl_thrd_param *pack;
285 pack = (struct impl_thrd_param *)malloc(sizeof(struct impl_thrd_param));
286 if (!pack) return thrd_nomem;
287 pack->func = func;
288 pack->arg = arg;
289 if (pthread_create(thr, NULL, impl_thrd_routine, pack) != 0) {
290 free(pack);