| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | ThreadPool.h | 38 /// It is possible to reuse one thread pool for different groups of tasks 39 /// by grouping tasks using ThreadPoolTaskGroup. All tasks are processed using 41 /// tasks to finish. 43 /// It is also possible for worker threads to submit new tasks and wait for 46 /// available threads are used up by tasks waiting for a task that has no thread 56 /// Destroying the pool will drain the pending tasks and wait. The current 57 /// thread may participate in the execution of the pending tasks. 61 /// It is an error to try to add new tasks while blocking on this call. 68 /// worker thread, the call may process pending tasks while waiting in order 136 /// It is an error to try to add new tasks while blocking on this call. [all …]
|
| H A D | Threading.h | 155 /// Returns a thread strategy for tasks requiring significant memory or other 191 /// Returns an optimal thread strategy to execute specified amount of tasks. 193 /// occasionaly have an unexpectedly small amount of tasks. 242 /// for long-running tasks that are not time critical; more energy- 247 /// foreground tasks significantly. This is a good default for long- 248 /// running, latency-insensitive tasks to make sure cpu is not hogged
|
| H A D | Parallel.h | 98 // Tasks marked with \p Sequential will be executed 160 // the number of spawn() calls. We'll create up to 1024 tasks here. 170 // Limit the number of tasks to MaxTasksPerGroup to limit job scheduling in parallel_transform_reduce() 179 // remaining after dividing them equally amongst tasks are distributed as in parallel_transform_reduce() 180 // one extra input over the first tasks. in parallel_transform_reduce() 199 // Do a final reduction. There are at most 1024 tasks, so this only adds in parallel_transform_reduce()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | ThreadPool.cpp | 25 // A note on thread groups: Tasks are by default in no group (represented 26 // by nullptr ThreadPoolTaskGroup pointer in the Tasks queue) and functionality 27 // here normally works on all tasks regardless of their group (functions 29 // A task in a group has a pointer to that ThreadPoolTaskGroup in the Tasks 30 // queue, and functions called to work only on tasks from one group take that 54 // The group of the tasks run by the current thread. 59 // WaitingForGroup == nullptr means all tasks regardless of their group. 67 // Wait for tasks to be pushed in the queue in processTasks() 69 return !EnableFlag || !Tasks.empty() || in processTasks() 75 if (!EnableFlag && Tasks.empty()) in processTasks() [all …]
|
| /freebsd/share/man/man9/ |
| H A D | taskqueue.9 | 156 Any tasks that are on the queue will be executed at this time after 180 any tasks. 189 To add a task to the list of tasks queued on a taskqueue, call 200 value or at the end of the list if no tasks have a lower priority. 321 function is used to wait for all pending and running tasks that 323 Tasks posted to the taskqueue after 336 running tasks to finish. 338 that tasks will eventually stop being posted to the queue. 343 It prevents any enqueued but not running tasks from being executed. 346 will enqueue tasks, but the tasks will not be run until [all …]
|
| /illumos-gate/usr/src/man/man9f/ |
| H A D | taskq.9f | 80 .Pq tasks are processed in the order scheduled 112 scheduling that enables tasks to be performed at a later time by another 130 A task queue is just a simple way to launch multiple tasks in parallel. 133 A task queue consists of a list of tasks, together with one or more threads to 135 If a task queue has a single service thread, all tasks are guaranteed to execute 138 Note that since tasks are placed on a list, execution of one task should not 165 function waits for any scheduled tasks to complete, then destroys the taskq 167 The caller should guarantee that no new tasks are scheduled for the closing 172 function waits for all previously scheduled tasks to complete. 182 attempts to suspend pending tasks, there are no guarantees that they will be [all …]
|
| /freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | taskq.h | 89 wmsum_t tqs_tasks_pending; /* tasks waiting to execute */ 90 wmsum_t tqs_tasks_priority; /* hi-pri tasks waiting */ 91 wmsum_t tqs_tasks_total; /* total waiting tasks */ 92 wmsum_t tqs_tasks_delayed; /* tasks deferred to future */ 98 wmsum_t tqs_tasks_dispatched; /* tasks dispatched */ 99 wmsum_t tqs_tasks_dispatched_delayed; /* tasks delayed to future */ 100 wmsum_t tqs_tasks_executed_normal; /* normal pri tasks executed */ 101 wmsum_t tqs_tasks_executed_priority; /* high pri tasks executed */ 102 wmsum_t tqs_tasks_executed; /* total tasks executed */ 103 wmsum_t tqs_tasks_delayed_requeued; /* delayed tasks requeued */ [all …]
|
| /freebsd/contrib/ntp/libntp/lib/isc/include/isc/ |
| H A D | task.h | 33 * execute runnable tasks by dispatching the events on the tasks' event 34 * queues. Context switching between tasks is fast. 95 ***** Tasks. 185 * before the task must yield to other tasks waiting to execute. If 574 * task. Waits for any other concurrently executing tasks to finish their 576 * tasks sharing a task manager with 'task'. 594 * allowing other tasks to execute. 633 * isc_taskmgr_setmode(), only tasks with the flag set will be executed, 634 * and all other tasks will wait until they're done. Once all privileged 635 * tasks have finished executing, the task manager will automatically [all …]
|
| /illumos-gate/usr/src/man/man8/ |
| H A D | wracct.8 | 8 wracct \- write extended accounting records for active processes and tasks 18 resource usage of a selected set of processes or tasks. For tasks, a 42 Select the \fBID\fRs of the tasks or processes to write records for. Specify 53 Select type of record to write for the selected task or process. For tasks,
|
| H A D | poolbind.8 | 8 poolbind \- bind processes, tasks, or projects or query binding of processes to 35 tasks, and processes to pools. With the \fB-e\fR option (see below), it can 112 Specifies the name of a pool to which the specified zone, project, tasks, or
|
| /freebsd/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_tasking.cpp | 47 // __kmp_trace_task_stack: print the tied tasks from the task stack in order 166 return; // Don't push anything on stack if team or team tasks are serialized in __kmp_push_task_stack() 226 // Don't pop anything from stack if team or team tasks are serialized in __kmp_pop_task_stack() 268 // only descendant of all deferred tied tasks can be scheduled, checking 352 // The function finds the deque of priority tasks with given priority, or 354 // Deques of non-default priority tasks are shared between all threads in team, 355 // as opposed to per-thread deques of tasks with default priority. 362 // Found queue of tasks with given priority. 365 // All current priority queues contain tasks with lower priority. 366 // Allocate new one for given priority tasks. [all …]
|
| /freebsd/sys/kern/ |
| H A D | subr_gtaskqueue.c | 176 KASSERT(LIST_EMPTY(&queue->tq_active), ("Tasks still running?")); in gtaskqueue_free() 177 KASSERT(queue->tq_callouts == 0, ("Armed timeout tasks")); in gtaskqueue_free() 254 * Block until all currently queued tasks in this taskqueue 255 * have begun execution. Tasks queued during execution of 267 * Enqueue our barrier after all current tasks, but with in gtaskqueue_drain_tq_queue() 268 * the highest priority so that newly queued tasks cannot in gtaskqueue_drain_tq_queue() 279 * Once the barrier has executed, all previously queued tasks in gtaskqueue_drain_tq_queue() 287 * Block until all currently executing tasks for this taskqueue 288 * complete. Tasks that begin execution during the execution 623 * Find the taskq with least # of tasks that doesn't currently have any [all …]
|
| H A D | subr_taskqueue.c | 222 KASSERT(LIST_EMPTY(&queue->tq_active), ("Tasks still running?")); in taskqueue_free() 223 KASSERT(queue->tq_callouts == 0, ("Armed timeout tasks")); in taskqueue_free() 264 * Optimise cases when all tasks use small set of priorities. in taskqueue_enqueue_locked() 395 * Block until all currently queued tasks in this taskqueue 396 * have begun execution. Tasks queued during execution of 408 * Enqueue our barrier after all current tasks, but with in taskqueue_drain_tq_queue() 409 * the highest priority so that newly queued tasks cannot in taskqueue_drain_tq_queue() 421 * Once the barrier has executed, all previously queued tasks in taskqueue_drain_tq_queue() 430 * Block until all currently executing tasks for this taskqueue 431 * complete. Tasks that begin execution during the execution
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | TaskDispatch.h | 51 /// Base class for generic tasks. 95 /// Abstract base for classes that dispatch ORC Tasks. 103 /// Called by ExecutionSession. Waits until all tasks have completed. 107 /// Runs all tasks on the current thread.
|
| /illumos-gate/usr/src/uts/common/sys/ |
| H A D | taskq_impl.h | 151 hrtime_t tq_totaltime; /* Time spent processing tasks */ 153 uint64_t tq_tasks; /* Total # of tasks posted */ 154 uint64_t tq_executed; /* Total # of tasks executed */ 155 int tq_maxtasks; /* Max number of tasks in the queue */
|
| H A D | vm_usage.h | 58 #define VMUSAGE_TASKS 0x8 /* rss/swap for all tasks in */ 68 #define VMUSAGE_ALL_TASKS 0x100 /* rss/swap for all tasks in all */ 93 /* TASKS|RUSERS|EUSERS) */
|
| /freebsd/sys/contrib/openzfs/module/os/linux/spl/ |
| H A D | spl-taskq.c | 142 "Create new taskq threads after N sequential tasks"); 146 * taskq is not intended for long-running tasks; instead, a dedicated taskq 237 * of allocated tasks is above tq->tq_maxalloc, but we still in task_alloc() 290 /* Wake tasks blocked in taskq_wait_id() */ in task_done() 487 * id and the next available task id. As tasks are dispatched they are 489 * threads become available the tasks are removed from the heads of these 505 * when the taskq contains delay tasks with small task ids callers may 547 * The taskq_wait_outstanding() function will block until all tasks with a 550 * passed for the id to indicate all tasks dispatch up to this point, 601 * Cancel an already dispatched task given the task id. Still pending tasks [all …]
|
| /freebsd/contrib/ntp/libntp/lib/isc/ |
| H A D | task.c | 146 LIST(isc__task_t) tasks; 166 #define FINISHED(m) ((m)->exiting && EMPTY((m)->tasks)) 293 *** Tasks. 308 UNLINK(manager->tasks, task, link); in task_finished() 312 * All tasks have completed and the in task_finished() 372 APPEND(manager->tasks, task, link); in isc__task_create() 1249 * tasks remaining on the current ready queue, then in dispatch() 1399 INIT_LIST(manager->tasks); in isc__taskmgr_create() 1492 * We need to do so, because otherwise the list of tasks could in isc__taskmgr_destroy() 1516 for (task = HEAD(manager->tasks); in isc__taskmgr_destroy() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
| H A D | TaskTimer.h | 22 /// Class used to track the duration of long running tasks related to a single 59 /// Class used to track the duration of long running tasks for reporting. 67 /// The timer object for global tasks.
|
| /illumos-gate/usr/src/uts/common/io/comstar/stmf/ |
| H A D | stmf_impl.h | 91 uint32_t ilu_ntasks; /* # of tasks in the ilu_task list */ 92 uint32_t ilu_ntasks_free; /* # of tasks that are free */ 93 uint32_t ilu_ntasks_min_free; /* # minimal free tasks */ 169 /* number of active read tasks */ 171 /* number of active write tasks */
|
| /illumos-gate/usr/src/uts/common/os/ |
| H A D | taskq.c | 36 * A common problem in kernel programming is the need to schedule tasks 51 * (5) You just want a simple way to launch multiple tasks in parallel. 55 * single list of tasks, together with one or more threads to service the 61 * (2) Some tasks may depend on other tasks to complete, so they can't be put in 64 * (3) Some tasks may block for a long time, and this should not block other 65 * tasks in the queue. 68 * which has an individual thread for each of the tasks. These threads are 74 * Dynamic task queues may also place tasks in a "backlog" when a taskq is 75 * resource constrained. Users of task queues may prevent tasks from being 102 * Since non-DYNAMIC taskqs are queues, tasks are guaranteed to be [all …]
|
| /freebsd/sys/dev/acpica/Osd/ |
| H A D | OsdSchedule.c | 53 * Allow the user to tune the maximum number of tasks we may enqueue. 57 0, "Maximum acpi tasks"); 92 * Preallocate some memory for tasks early enough. 118 printf("AcpiOsExecute: enqueue %d pending tasks\n", in acpi_taskq_init()
|
| /freebsd/release/packages/ucl/ |
| H A D | periodic-all.ucl | 23 scheduling regular system maintenance tasks. This package also provides 24 the base periodic tasks for the base system.
|
| /illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Task/ |
| H A D | README | 18 For more information on Solaris Tasks, see the project(5) manpage and the 22 Chapter 6 - Projects and Tasks
|
| /freebsd/contrib/unbound/services/ |
| H A D | authzone.h | 193 * The structure consists of different tasks. Each can be unowned (-1) or 197 * (move this to tasks). 208 * tasks. First hold the tree-lock in auth_zones, find the auth_xfer, 210 * one of the tasks. 245 * probe tasks should check this once done to see if they need to 293 * is already doing that, do nothing. Tasks becomes unowned. 508 * Stops the xfr tasks. But leaves zone data. 817 * @param xfr: delete this xfer and its tasks. 822 * Disown tasks from the xfr that belong to this worker. 823 * Only tasks for the worker in question, the comm point and timer [all …]
|