Home
last modified time | relevance | path

Searched refs:funcarg (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Python/
Dthread_solaris.h25 new_func(void *funcarg) in new_func() argument
30 func = ((struct func_arg *) funcarg)->func; in new_func()
31 arg = ((struct func_arg *) funcarg)->arg; in new_func()
32 free(funcarg); in new_func()
42 struct func_arg *funcarg; in PyThread_start_new_thread() local
47 funcarg = (struct func_arg *) malloc(sizeof(struct func_arg)); in PyThread_start_new_thread()
48 funcarg->func = func; in PyThread_start_new_thread()
49 funcarg->arg = arg; in PyThread_start_new_thread()
50 if (thr_create(0, 0, new_func, funcarg, in PyThread_start_new_thread()
53 free((void *) funcarg); in PyThread_start_new_thread()
/external/python/cpython2/Modules/
Dcdmodule.c613 PyObject *func, *funcarg; in CD_addcallback() local
616 if (!PyArg_ParseTuple(args, "iOO:addcallback", &type, &func, &funcarg)) in CD_addcallback()
633 Py_INCREF(funcarg); in CD_addcallback()
634 Py_XSETREF(self->ob_cdcallbacks[type].ob_cdcallbackarg, funcarg); in CD_addcallback()