Class representing source of mail.
More...
#include <mailbox.h>
Class representing source of mail.
Definition at line 196 of file mailbox.h.
◆ mail_inbox()
tbb::internal::mail_inbox::mail_inbox |
( |
| ) |
|
|
inline |
Construct unattached inbox.
Definition at line 201 of file mailbox.h.
mail_outbox * my_putter
Corresponding sink where mail that we receive will be put.
◆ attach()
Attach inbox to a corresponding outbox.
Definition at line 204 of file mailbox.h.
mail_outbox * my_putter
Corresponding sink where mail that we receive will be put.
◆ detach()
void tbb::internal::mail_inbox::detach |
( |
| ) |
|
|
inline |
Detach inbox from its outbox.
Definition at line 208 of file mailbox.h.
References __TBB_ASSERT.
Referenced by tbb::internal::arena::process().
mail_outbox * my_putter
Corresponding sink where mail that we receive will be put.
#define __TBB_ASSERT(predicate, comment)
No-op version of __TBB_ASSERT.
◆ empty()
bool tbb::internal::mail_inbox::empty |
( |
| ) |
|
|
inline |
Return true if mailbox is empty.
Definition at line 217 of file mailbox.h.
References tbb::internal::mail_outbox::empty().
bool empty()
Return true if mailbox is empty.
mail_outbox * my_putter
Corresponding sink where mail that we receive will be put.
◆ is_idle_state()
bool tbb::internal::mail_inbox::is_idle_state |
( |
bool |
value | ) |
const |
|
inline |
Indicate whether thread that reads this mailbox is idle.
Definition at line 229 of file mailbox.h.
References tbb::internal::unpadded_mail_outbox::my_is_idle, tbb::internal::task_proxy::outbox, and value.
Referenced by tbb::internal::arena::process().
bool my_is_idle
Owner of mailbox is not executing a task, and has drained its own task pool.
mail_outbox * my_putter
Corresponding sink where mail that we receive will be put.
void const char const char int ITT_FORMAT __itt_group_sync x void const char ITT_FORMAT __itt_group_sync s void ITT_FORMAT __itt_group_sync p void ITT_FORMAT p void ITT_FORMAT p no args __itt_suppress_mode_t unsigned int void size_t ITT_FORMAT d void ITT_FORMAT p void ITT_FORMAT p __itt_model_site __itt_model_site_instance ITT_FORMAT p __itt_model_task __itt_model_task_instance ITT_FORMAT p void ITT_FORMAT p void ITT_FORMAT p void size_t ITT_FORMAT d void ITT_FORMAT p const wchar_t ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s no args void ITT_FORMAT p size_t ITT_FORMAT d no args const wchar_t const wchar_t ITT_FORMAT s __itt_heap_function void size_t int ITT_FORMAT d __itt_heap_function void ITT_FORMAT p __itt_heap_function void void size_t int ITT_FORMAT d no args no args unsigned int ITT_FORMAT u const __itt_domain __itt_id ITT_FORMAT lu const __itt_domain __itt_id __itt_id __itt_string_handle ITT_FORMAT p const __itt_domain __itt_id ITT_FORMAT p const __itt_domain __itt_id __itt_timestamp __itt_timestamp ITT_FORMAT lu const __itt_domain __itt_id __itt_id __itt_string_handle ITT_FORMAT p const __itt_domain ITT_FORMAT p const __itt_domain __itt_string_handle unsigned long long value
◆ pop()
◆ set_is_idle()
void tbb::internal::mail_inbox::set_is_idle |
( |
bool |
value | ) |
|
|
inline |
Indicate whether thread that reads this mailbox is idle.
Raises assertion failure if mailbox is redundantly marked as not idle.
Definition at line 222 of file mailbox.h.
References __TBB_ASSERT, tbb::internal::unpadded_mail_outbox::my_is_idle, and value.
bool my_is_idle
Owner of mailbox is not executing a task, and has drained its own task pool.
mail_outbox * my_putter
Corresponding sink where mail that we receive will be put.
#define __TBB_ASSERT(predicate, comment)
No-op version of __TBB_ASSERT.
void const char const char int ITT_FORMAT __itt_group_sync x void const char ITT_FORMAT __itt_group_sync s void ITT_FORMAT __itt_group_sync p void ITT_FORMAT p void ITT_FORMAT p no args __itt_suppress_mode_t unsigned int void size_t ITT_FORMAT d void ITT_FORMAT p void ITT_FORMAT p __itt_model_site __itt_model_site_instance ITT_FORMAT p __itt_model_task __itt_model_task_instance ITT_FORMAT p void ITT_FORMAT p void ITT_FORMAT p void size_t ITT_FORMAT d void ITT_FORMAT p const wchar_t ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s no args void ITT_FORMAT p size_t ITT_FORMAT d no args const wchar_t const wchar_t ITT_FORMAT s __itt_heap_function void size_t int ITT_FORMAT d __itt_heap_function void ITT_FORMAT p __itt_heap_function void void size_t int ITT_FORMAT d no args no args unsigned int ITT_FORMAT u const __itt_domain __itt_id ITT_FORMAT lu const __itt_domain __itt_id __itt_id __itt_string_handle ITT_FORMAT p const __itt_domain __itt_id ITT_FORMAT p const __itt_domain __itt_id __itt_timestamp __itt_timestamp ITT_FORMAT lu const __itt_domain __itt_id __itt_id __itt_string_handle ITT_FORMAT p const __itt_domain ITT_FORMAT p const __itt_domain __itt_string_handle unsigned long long value
◆ my_putter
Corresponding sink where mail that we receive will be put.
Definition at line 198 of file mailbox.h.
The documentation for this class was generated from the following file: