STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::work_stealing_sched_entry< SchedInfo, Hook > Class Template Reference

Wrapper class for entries in a work-stealing scheduler. More...

Public Member Functions

 work_stealing_sched_entry (SchedInfo const &info)
 
 work_stealing_sched_entry (SchedInfo &&info) noexcept
 
bool is_migratable (void) const noexcept
 Returns true if the underlying task can be migrated.
 
void migrate (const location_type dest, task_graph *tg_ptr)
 Migrates the task to the given location.
 
sched_info_type const & sched_info (void) const noexcept
 Returns the scheduling information associated with this entry.
 
sched_info_type & sched_info (void) noexcept
 Returns the scheduling information associated with this entry. More...
 

Public Types

typedef SchedInfo sched_info_type
 

Detailed Description

template<typename SchedInfo, typename Hook>
class stapl::work_stealing_sched_entry< SchedInfo, Hook >

Wrapper class for entries in a work-stealing scheduler.

Template Parameters
SchedInfoScheduling information object type.
HookHook for storing the entry in an intrusive container.
See also
sched_entry

Member Function Documentation

◆ sched_info()

template<typename SchedInfo , typename Hook >
sched_info_type& stapl::sched_entry< SchedInfo, Hook >::sched_info ( void  )
noexceptinherited

Returns the scheduling information associated with this entry.


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