Lines Matching refs:pack
89 struct impl_thrd_param pack;
91 memcpy(&pack, p, sizeof(struct impl_thrd_param));
93 code = pack.func(pack.arg);
313 struct impl_thrd_param *pack;
316 pack = (struct impl_thrd_param *)malloc(sizeof(struct impl_thrd_param));
317 if (!pack) return thrd_nomem;
318 pack->func = func;
319 pack->arg = arg;
320 handle = _beginthreadex(NULL, 0, impl_thrd_routine, pack, 0, NULL);
322 free(pack);