Lines Matching refs:cookie
51 struct __thrd_tramp_data *cookie;
56 cookie = (struct __thrd_tramp_data *)arg;
58 ret = (cookie->func)(cookie->arg);
60 free(cookie);
68 struct __thrd_tramp_data *cookie;
74 cookie = malloc(sizeof(*cookie));
75 if (cookie == NULL)
78 cookie->func = func;
79 cookie->arg = arg;
81 switch(pthread_create(thr, NULL, __thrd_create_tramp, cookie)) {
91 free(cookie);