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

Priority scheduler that supports integer priority. More...

Public Member Functions

void add_active (entry_type &e) noexcept
 Adds an active entry to the scheduler.
 
void add_idle (entry_type &) noexcept
 Adds an idle entry to the scheduler.
 
entry_typenext (void) noexcept
 Returns the next entry to be executed.
 
bool empty (void) const noexcept
 
bool ready (void) const noexcept
 
size_type size (void) const noexcept
 

Public Types

typedef SchedInfo sched_info_type
 
typedef sched_entry< sched_info_type, hook_type > entry_type
 
typedef list_type::size_type size_type
 

Detailed Description

template<unsigned int MAX_PRIORITY = 10, typename SchedInfo = default_info>
class stapl::priority_scheduler< MAX_PRIORITY, SchedInfo >

Priority scheduler that supports integer priority.

Template Parameters
MAX_PRIORITYMaximum priority supported.
SchedInfoScheduling information object type.

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