Reference

__gnu_parallel::_Job(3)

One __job for a certain thread.

NAME

__gnu_parallel::_Job< _DifferenceTp > - One __job for a certain thread.

SYNOPSIS

#include <workstealing.h>

Public Types

typedef _DifferenceTp _DifferenceType

Public Attributes

volatile _DifferenceType _M_first
First element. volatile _DifferenceType _M_last
Last element. volatile _DifferenceType _M_load
Number of elements, i.e. _M_last-_M_first+1.

Detailed Description

template<typename _DifferenceTp>

struct __gnu_parallel::_Job< _DifferenceTp >"One __job for a certain thread.

Member Data Documentation

template<typename _DifferenceTp> volatile _DifferenceType __gnu_parallel::_Job< _DifferenceTp >::_M_first

First element. Changed by owning and stealing thread. By stealing thread, always incremented.

Referenced by __gnu_parallel::__for_each_template_random_access_workstealing().

template<typename _DifferenceTp> volatile _DifferenceType __gnu_parallel::_Job< _DifferenceTp >::_M_last

Last element. Changed by owning thread only.

Referenced by __gnu_parallel::__for_each_template_random_access_workstealing().

template<typename _DifferenceTp> volatile _DifferenceType __gnu_parallel::_Job< _DifferenceTp >::_M_load

Number of elements, i.e. _M_last-_M_first+1. Changed by owning thread only.

Referenced by __gnu_parallel::__for_each_template_random_access_workstealing().

Author

Generated automatically by Doxygen for libstdc++ from the source code.