ParallelME Runtime Environment
Public Member Functions | List of all members
SchedulerFCFS Class Reference

#include <SchedulerFCFS.hpp>

Inheritance diagram for SchedulerFCFS:
Scheduler

Public Member Functions

void push (std::unique_ptr< Task > task)
 
std::unique_ptr< Taskpop (Device &device)
 
bool hasWork ()
 
- Public Member Functions inherited from Scheduler
 Scheduler (const Scheduler &)=delete
 
Scheduleroperator= (const Scheduler &)=delete
 

Detailed Description

An implementation of the First Come First Served scheduling strategy for the ParallelME Runtime.

Member Function Documentation

bool SchedulerFCFS::hasWork ( )
virtual

If the scheduler still has work to do. This function is thread-safe.

Implements Scheduler.

std::unique_ptr<Task> SchedulerFCFS::pop ( Device device)
virtual

Pops a task from the scheduler. This function is thread-safe.

Implements Scheduler.

void SchedulerFCFS::push ( std::unique_ptr< Task task)
virtual

Pushes a task into the scheduler. This function is thread-safe.

Implements Scheduler.


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