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

Arbitrary priority scheduler that supports any type of 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. More...
 
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<typename SchedInfo = default_info>
class stapl::arbitrary_priority_scheduler< SchedInfo >

Arbitrary priority scheduler that supports any type of priority.

Template Parameters
SchedInfoScheduling information object type.

Member Function Documentation

◆ next()

template<typename SchedInfo = default_info>
entry_type& stapl::arbitrary_priority_scheduler< SchedInfo >::next ( void  )
noexcept

Returns the next entry to be executed.


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