---
name: "__gnu_parallel::Job"
section: "3cxx"
platform: "linux"
package: "libstdc++6-4.4-doc"
version: "4.4.7-2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/__gnu_parallel::Job/3cxx"
---

# \_\_gnu\_parallel::Job(3cxx)

## NAME

\_\_gnu\_parallel::Job\< \_DifferenceTp \> -

## SYNOPSIS

### Public Types

typedef \_DifferenceTp **difference\_type**\

### Public Attributes

volatile difference\_type **first**\
 volatile difference\_type **last**\
 volatile difference\_type **load**\

## Detailed Description

### template\<typename \_DifferenceTp\>struct \_\_gnu\_parallel::Job\< \_DifferenceTp \>

One job for a certain thread.

Definition at line 54 of file workstealing.h.

## Member Data Documentation

### template\<typename \_DifferenceTp\> volatile difference\_type \_\_gnu\_parallel::Job\< \_DifferenceTp \>::first

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

Definition at line 62 of file workstealing.h.

Referenced by \_\_gnu\_parallel::for\_each\_template\_random\_access\_workstealing().

### template\<typename \_DifferenceTp\> volatile difference\_type \_\_gnu\_parallel::Job\< \_DifferenceTp \>::last

Last element. Changed by owning thread only.

Definition at line 67 of file workstealing.h.

Referenced by \_\_gnu\_parallel::for\_each\_template\_random\_access\_workstealing().

### template\<typename \_DifferenceTp\> volatile difference\_type \_\_gnu\_parallel::Job\< \_DifferenceTp \>::load

Number of elements, i. e. `last-first+1`. Changed by owning thread only.

Definition at line 72 of file workstealing.h.

Referenced by \_\_gnu\_parallel::for\_each\_template\_random\_access\_workstealing().

## Author

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