/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libgomp/ |
H A D | task.c | 25 /* This file handles the maintainence of tasks in response to task 33 /* Create a new task data structure. */ 36 gomp_init_task (struct gomp_task *task, struct gomp_task *parent_task, argument 39 task->parent = parent_task; 40 task->icv = *prev_icv; 41 task->kind = GOMP_TASK_IMPLICIT; 42 task->in_taskwait = false; 43 task->in_tied_task = false; 44 task->children = NULL; 45 gomp_sem_init (&task 54 struct gomp_task *task = thr->task; local 63 struct gomp_task *task = children; local 100 struct gomp_task task; local 127 struct gomp_task *task; local 190 struct gomp_task *task = thr->task; local 285 struct gomp_task *task = thr->task; local [all...] |
H A D | team.c | 54 struct gomp_task *task; member in struct:gomp_thread_start_data 86 thr->task = data->task; 96 struct gomp_task *task = thr->task; local 102 gomp_finish_task (task); 113 struct gomp_task *task = thr->task; local 117 gomp_finish_task (task); 241 if (thr->task ! 243 struct gomp_task *task = thr->task; local 257 struct gomp_task *task; local 550 struct gomp_task *task = gomp_malloc (sizeof (struct gomp_task)); local [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.old-deja/g++.benjamin/ |
H A D | warn04.C | 7 template<class T> class task { class
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.old-deja/g++.benjamin/ |
H A D | warn04.C | 7 template<class T> class task { class
|
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/lib/isc/ |
H A D | task.c | 20 /* Id: task.c,v 1.107 2008/03/27 23:46:57 tbox Exp */ 27 * XXXRTH Need to document the states a task can be in, and the rules 40 #include <isc/task.h> 50 #define XTRACE(m) fprintf(stderr, "task %p thread %lu: %s\n", \ 51 task, isc_thread_self(), (m)) 52 #define XTTRACE(t, m) fprintf(stderr, "task %p thread %lu: %s\n", \ 85 /* Locked by task lock. */ 95 /* Locked by task manager lock. */ 117 /* Locked by task manager lock. */ 146 task_finished(isc_task_t *task) { argument 180 isc_task_t *task; local 251 task_shutdown(isc_task_t *task) argument 288 task_ready(isc_task_t *task) argument 307 task_detach(isc_task_t *task) argument 337 isc_task_t *task; local 361 task_send(isc_task_t *task, isc_event_t **eventp) argument 391 isc_task_send(isc_task_t *task, isc_event_t **eventp) argument 434 isc_task_t *task; local 468 dequeue_events(isc_task_t *task, void *sender, isc_eventtype_t first, isc_eventtype_t last, void *tag, isc_eventlist_t *events, isc_boolean_t purging) argument 508 isc_task_purgerange(isc_task_t *task, void *sender, isc_eventtype_t first, isc_eventtype_t last, void *tag) argument 539 isc_task_purge(isc_task_t *task, void *sender, isc_eventtype_t type, void *tag) argument 552 isc_task_purgeevent(isc_task_t *task, isc_event_t *event) argument 594 isc_task_unsendrange(isc_task_t *task, void *sender, isc_eventtype_t first, isc_eventtype_t last, void *tag, isc_eventlist_t *events) argument 609 isc_task_unsend(isc_task_t *task, void *sender, isc_eventtype_t type, void *tag, isc_eventlist_t *events) argument 623 isc_task_onshutdown(isc_task_t *task, isc_taskaction_t action, const void *arg) argument 661 isc_task_shutdown(isc_task_t *task) argument 692 isc_task_setname(isc_task_t *task, const char *name, void *tag) argument 708 isc_task_getname(isc_task_t *task) argument 713 isc_task_gettag(isc_task_t *task) argument 718 isc_task_getcurrenttime(isc_task_t *task, isc_stdtime_t *t) argument 734 isc_task_t *task; local 1149 isc_task_t *task; local 1262 isc_task_beginexclusive(isc_task_t *task) argument 1283 isc_task_endexclusive(isc_task_t *task) argument 1302 isc_task_t *task; local [all...] |
H A D | ondestroy.c | 31 #include <isc/task.h> 44 isc_ondestroy_register(isc_ondestroy_t *ondest, isc_task_t *task, argument 51 REQUIRE(task != NULL); 58 isc_task_attach(task, &thetask); 70 isc_task_t *task; local 78 task = eventp->ev_sender; 81 isc_task_sendanddetach(&task, &eventp);
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/gomp/ |
H A D | pr44085.c | 12 #pragma omp task untied /* { dg-error "enclosing task" } */ 14 thr1++; /* { dg-error "used in untied task" } */ 15 thr2 |= 4; /* { dg-error "used in untied task" } */ 22 #pragma omp task
|
H A D | pr36790.c | 14 #pragma omp task default (shared)
|
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/isc/ |
H A D | task_api.c | 29 #include <isc/task.h> 148 isc_task_send(isc_task_t *task, isc_event_t **eventp) { argument 149 REQUIRE(ISCAPI_TASK_VALID(task)); 152 task->methods->send(task, eventp); 168 isc_task_unsend(isc_task_t *task, void *sender, isc_eventtype_t type, argument 171 REQUIRE(ISCAPI_TASK_VALID(task)); 173 return (task->methods->unsend(task, sender, type, tag, events)); 177 isc_task_onshutdown(isc_task_t *task, isc_taskaction_ argument 185 isc_task_shutdown(isc_task_t *task) argument 192 isc_task_setname(isc_task_t *task, const char *name, void *tag) argument 199 isc_task_purge(isc_task_t *task, void *sender, isc_eventtype_t type, void *tag) argument 207 isc_taskmgr_setexcltask(isc_taskmgr_t *mgr, isc_task_t *task) argument 218 isc_task_beginexclusive(isc_task_t *task) argument 225 isc_task_endexclusive(isc_task_t *task) argument 232 isc_task_setprivilege(isc_task_t *task, isc_boolean_t priv) argument 239 isc_task_privilege(isc_task_t *task) argument 251 isc_task_purgerange(isc_task_t *task, void *sender, isc_eventtype_t first, isc_eventtype_t last, void *tag) argument [all...] |
H A D | task.c | 1 /* $NetBSD: task.c,v 1.6 2012/12/04 23:38:44 spz Exp $ */ 27 * XXXRTH Need to document the states a task can be in, and the rules 40 #include <isc/task.h> 53 * when built without threads we share a single global task manager and use 54 * an integrated event loop for socket, timer, and other generic task events. 56 * we don't use either of them: an application can have multiple task managers 72 #define XTRACE(m) fprintf(stderr, "task %p thread %lu: %s\n", \ 73 task, isc_thread_self(), (m)) 74 #define XTTRACE(t, m) fprintf(stderr, "task %p thread %lu: %s\n", \ 110 /* Locked by task loc 306 task_finished(isc__task_t *task) argument 342 isc__task_t *task; local 417 task_shutdown(isc__task_t *task) argument 460 task_ready(isc__task_t *task) argument 481 task_detach(isc__task_t *task) argument 511 isc__task_t *task; local 535 task_send(isc__task_t *task, isc_event_t **eventp) argument 566 isc__task_t *task = (isc__task_t *)task0; local 609 isc__task_t *task; local 643 dequeue_events(isc__task_t *task, void *sender, isc_eventtype_t first, isc_eventtype_t last, void *tag, isc_eventlist_t *events, isc_boolean_t purging) argument 686 isc__task_t *task = (isc__task_t *)task0; local 715 isc__task_purge(isc_task_t *task, void *sender, isc_eventtype_t type, void *tag) argument 729 isc__task_t *task = (isc__task_t *)task0; local 771 isc__task_unsendrange(isc_task_t *task, void *sender, isc_eventtype_t first, isc_eventtype_t last, void *tag, isc_eventlist_t *events) argument 786 isc__task_unsend(isc_task_t *task, void *sender, isc_eventtype_t type, void *tag, isc_eventlist_t *events) argument 803 isc__task_t *task = (isc__task_t *)task0; local 841 isc__task_t *task = (isc__task_t *)task0; local 873 isc__task_t *task = (isc__task_t *)task0; local 890 isc__task_t *task = (isc__task_t *)task0; local 899 isc__task_t *task = (isc__task_t *)task0; local 908 isc__task_t *task = (isc__task_t *)task0; local 951 isc__task_t *task; local 975 push_readyq(isc__taskmgr_t *manager, isc__task_t *task) argument 984 isc__task_t *task; local 1460 isc__task_t *task; local 1651 isc__task_t *task = (isc__task_t *) task0; local 1677 isc__task_t *task = (isc__task_t *)task0; local 1702 isc__task_t *task = (isc__task_t *)task0; local 1718 isc__task_t *task = (isc__task_t *)task0; local 1745 isc__task_t *task = (isc__task_t *)task0; local 1763 isc__task_t *task = (isc__task_t *)t; local 1774 isc__task_t *task; local [all...] |
H A D | ondestroy.c | 31 #include <isc/task.h> 44 isc_ondestroy_register(isc_ondestroy_t *ondest, isc_task_t *task, argument 51 REQUIRE(task != NULL); 58 isc_task_attach(task, &thetask); 70 isc_task_t *task; local 78 task = eventp->ev_sender; 81 isc_task_sendanddetach(&task, &eventp);
|
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/lib/isc/include/isc/ |
H A D | task.h | 20 /* Id: task.h,v 1.61.332.2 2009/01/18 23:47:41 tbox Exp */ 29 /*! \file isc/task.h 30 * \brief The task system provides a lightweight execution context, which is 33 * When a task's event queue is non-empty, the 34 * task is runnable. A small work crew of threads, typically one per CPU, 58 * Events which have been queued for a task but not delivered may be removed 59 * from the task's event queue by purging or unsending. 105 * Create a task. 110 * before the task must yield to other tasks waiting to execute. If 111 * quantum is zero, then the default quantum of the task manage [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.dg/gomp/ |
H A D | pr36790.C | 14 #pragma omp task default (shared)
|
H A D | task-1.C | 13 #pragma omp task // { dg-error "has reference type" } 15 #pragma omp task // { dg-error "has reference type" }
|
H A D | pr37189.C | 25 #pragma omp task
|
/netbsd-6-1-5-RELEASE/sbin/dmctl/ |
H A D | dmctl.c | 152 libdm_task_t task; local 198 * Create libdm task, and pass it to command handler later. 202 task = libdm_task_create(cmdname); 204 (*commands[i].cmd_func)(argc, argv, task); 214 dmctl_get_version(int argc __unused, char *argv[] __unused, libdm_task_t task) argument 218 size = libdm_task_get_cmd_version(task, ver, sizeof(ver)); 222 if (libdm_task_run(task) != 0) 225 size = libdm_task_get_cmd_version(task, ver, 3); 228 libdm_task_destroy(task); 236 dmctl_get_targets(int argc __unused, char *argv[] __unused, libdm_task_t task) argument 272 dmctl_create_dev(int argc __unused, char *argv[] __unused, libdm_task_t task) argument 288 dmctl_get_device_info(int argc __unused, char *argv[] __unused, libdm_task_t task) argument 311 dmctl_list_devices(int argc __unused, char *argv[] __unused, libdm_task_t task) argument 342 dmctl_dev_rename(int argc __unused, char *argv[], libdm_task_t task) argument 365 dmctl_dev_remove(int argc __unused, char *argv[] __unused, libdm_task_t task) argument 385 dmctl_dev_resume(int argc __unused, char *argv[] __unused, libdm_task_t task) argument 402 dmctl_dev_suspend(int argc __unused, char *argv[] __unused, libdm_task_t task) argument 420 dmctl_dev_deps(int argc __unused, char *argv[] __unused, libdm_task_t task) argument 452 dmctl_table_reload(int argc, char *argv[], libdm_task_t task) argument 505 dmctl_table_status(int argc __unused, char *argv[] __unused, libdm_task_t task) argument [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/isc/include/isc/ |
H A D | task.h | 1 /* $NetBSD: task.h,v 1.6 2012/12/04 23:38:44 spz Exp $ */ 29 /*! \file isc/task.h 30 * \brief The task system provides a lightweight execution context, which is 33 * When a task's event queue is non-empty, the 34 * task is runnable. A small work crew of threads, typically one per CPU, 58 * Events which have been queued for a task but not delivered may be removed 59 * from the task's event queue by purging or unsending. 111 /*% Task and task manager methods */ 120 void (*setexcltask)(isc_taskmgr_t *mgr, isc_task_t *task); 128 void (*send)(isc_task_t *task, isc_event_ [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/tests/ |
H A D | shutdown_test.c | 30 #include <isc/task.h> 37 isc_task_t * task; member in struct:__anon1254 56 t1_shutdown(isc_task_t *task, isc_event_t *event) { argument 59 printf("task %s (%p) t1_shutdown\n", info->name, task); 60 isc_task_detach(&info->task); 65 t2_shutdown(isc_task_t *task, isc_event_t *event) { argument 68 printf("task %s (%p) t2_shutdown\n", info->name, task); 74 shutdown_action(isc_task_t *task, isc_event_ argument 94 foo_event(isc_task_t *task, isc_event_t *event) argument 100 tick(isc_task_t *task, isc_event_t *event) argument 174 isc_task_t *task; local [all...] |
H A D | ratelimiter_test.c | 26 #include <isc/task.h> 38 static void utick(isc_task_t *task, isc_event_t *event); 39 static void shutdown_rl(isc_task_t *task, isc_event_t *event); 40 static void shutdown_all(isc_task_t *task, isc_event_t *event); 64 ltick(isc_task_t *task, isc_event_t *event) { argument 65 UNUSED(task); 73 utick(isc_task_t *task, isc_event_t *event) { argument 75 UNUSED(task); 84 shutdown_rl(isc_task_t *task, isc_event_t *event) { argument 85 UNUSED(task); 92 shutdown_all(isc_task_t *task, isc_event_t *event) argument [all...] |
H A D | sock_test.c | 30 #include <isc/task.h> 39 my_shutdown(isc_task_t *task, isc_event_t *event) { argument 42 printf("shutdown %s (%p)\n", name, task); 48 my_send(isc_task_t *task, isc_event_t *event) { argument 55 printf("my_send: %s task %p\n\t(sock %p, base %p, length %d, n %d, " 57 (char *)(event->ev_arg), task, sock, 63 isc_task_shutdown(task); 72 my_recv(isc_task_t *task, isc_event_t *event) { argument 105 isc_task_shutdown(task); 119 isc_socket_send(sock, ®ion, task, my_sen 132 my_http_get(isc_task_t *task, isc_event_t *event) argument 158 my_connect(isc_task_t *task, isc_event_t *event) argument 193 my_listen(isc_task_t *task, isc_event_t *event) argument 241 timeout(isc_task_t *task, isc_event_t *event) argument [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libgomp/testsuite/libgomp.c++/ |
H A D | task-7.C | 15 #pragma omp task firstprivate (a)
|
/netbsd-6-1-5-RELEASE/sys/dev/sdmmc/ |
H A D | ld_sdmmc.c | 64 struct sdmmc_task task; member in struct:ld_sdmmc_task 180 struct ld_sdmmc_task *task = &sc->sc_task; local 182 task->task_sc = sc; 183 task->task_bp = bp; 184 sdmmc_init_task(&task->task, ld_sdmmc_dobio, task); 186 callout_reset(&task->task_callout, hz, ld_sdmmc_timeout, task); 187 sdmmc_add_task(sc->sc_sf->sc, &task 195 struct ld_sdmmc_task *task = (struct ld_sdmmc_task *)arg; local 243 struct ld_sdmmc_task *task = (struct ld_sdmmc_task *)arg; local [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gold/testsuite/ |
H A D | object_unittest.cc | 43 const Task* task = reinterpret_cast<const Task*>(-1); local 44 Input_file input_file(task, "test.o", test_file, test_file_size); 50 object->unlock(task); 52 object->lock(task); 58 object->unlock(task);
|
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/dns/include/dns/ |
H A D | request.h | 79 *\li 'taskmgr' is a valid task manager. 99 dns_requestmgr_whenshutdown(dns_requestmgr_t *requestmgr, isc_task_t *task, 102 * Send '*eventp' to 'task' when 'requestmgr' has completed shutdown. 113 *\li 'task' is a valid task. 169 unsigned int timeout, isc_task_t *task, 185 * because it was canceled, a completion event will be sent to 'task'. 195 *\li 'task' is a valid task. 205 unsigned int timeout, isc_task_t *task, [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libgomp/testsuite/libgomp.c/ |
H A D | task-2.c | 11 #pragma omp task 31 #pragma omp task
|