Home ⌂Doc Index ◂Up ▴
Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::internal::task_info Struct Reference

This structure is used to store task information in a input buffer. More...

Inheritance diagram for tbb::internal::task_info:
Collaboration diagram for tbb::internal::task_info:

Public Member Functions

void reset ()
 Set to initial state (no object, no token) More...
 

Public Attributes

voidmy_object
 
Token my_token
 Invalid unless a task went through an ordered stage. More...
 
bool my_token_ready
 False until my_token is set. More...
 
bool is_valid
 True if my_object is valid. More...
 

Detailed Description

This structure is used to store task information in a input buffer.

Definition at line 30 of file pipeline.cpp.

Member Function Documentation

◆ reset()

void tbb::internal::task_info::reset ( )
inline

Set to initial state (no object, no token)

Definition at line 39 of file pipeline.cpp.

39  {
40  my_object = NULL;
41  my_token = 0;
42  my_token_ready = false;
43  is_valid = false;
44  }
bool my_token_ready
False until my_token is set.
Definition: pipeline.cpp:35
Token my_token
Invalid unless a task went through an ordered stage.
Definition: pipeline.cpp:33
bool is_valid
True if my_object is valid.
Definition: pipeline.cpp:37

References is_valid, my_object, my_token, and my_token_ready.

Referenced by tbb::internal::pipeline_root_task::execute(), tbb::thread_bound_filter::internal_process_item(), tbb::internal::input_buffer::note_done(), tbb::internal::stage_task::reset(), and tbb::internal::stage_task::stage_task().

Here is the caller graph for this function:

Member Data Documentation

◆ is_valid

bool tbb::internal::task_info::is_valid

◆ my_object

void* tbb::internal::task_info::my_object

◆ my_token

Token tbb::internal::task_info::my_token

Invalid unless a task went through an ordered stage.

Definition at line 33 of file pipeline.cpp.

Referenced by tbb::internal::stage_task::execute(), tbb::thread_bound_filter::internal_process_item(), tbb::internal::input_buffer::put_token(), and reset().

◆ my_token_ready

bool tbb::internal::task_info::my_token_ready

The documentation for this struct was generated from the following file:

Copyright © 2005-2020 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.