reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/openmp/runtime/src/kmp_tasking.cpp
  363   thread_data = &task_team->tt.tt_threads_data[tid];
  366   if (thread_data->td.td_deque == NULL) {
  367     __kmp_alloc_task_deque(thread, thread_data);
  372   if (TCR_4(thread_data->td.td_deque_ntasks) >=
  373       TASK_DEQUE_SIZE(thread_data->td)) {
  382       __kmp_acquire_bootstrap_lock(&thread_data->td.td_deque_lock);
  385       __kmp_realloc_task_deque(thread, thread_data);
  390     __kmp_acquire_bootstrap_lock(&thread_data->td.td_deque_lock);
  392     if (TCR_4(thread_data->td.td_deque_ntasks) >=
  393         TASK_DEQUE_SIZE(thread_data->td)) {
  397         __kmp_release_bootstrap_lock(&thread_data->td.td_deque_lock);
  404         __kmp_realloc_task_deque(thread, thread_data);
  412   thread_data->td.td_deque[thread_data->td.td_deque_tail] =
  412   thread_data->td.td_deque[thread_data->td.td_deque_tail] =
  415   thread_data->td.td_deque_tail =
  416       (thread_data->td.td_deque_tail + 1) & TASK_DEQUE_MASK(thread_data->td);
  416       (thread_data->td.td_deque_tail + 1) & TASK_DEQUE_MASK(thread_data->td);
  417   TCW_4(thread_data->td.td_deque_ntasks,
  418         TCR_4(thread_data->td.td_deque_ntasks) + 1); // Adjust task count
  425   __kmp_release_bootstrap_lock(&thread_data->td.td_deque_lock);