Realm
A distributed, event-based tasking library
Loading...
Searching...
No Matches
Realm::ThreadScheduler Class Referenceabstract

#include <threads.h>

Inheritance diagram for Realm::ThreadScheduler:

Public Member Functions

virtual ~ThreadScheduler (void)
 
virtual void thread_starting (Thread *thread)=0
 
virtual void thread_blocking (Thread *thread)=0
 
virtual void thread_terminating (Thread *thread)=0
 
virtual void thread_ready (Thread *thread)=0
 
virtual void set_thread_priority (Thread *thread, int new_priority)=0
 

Protected Member Functions

Thread::State update_thread_state (Thread *thread, Thread::State new_state)
 
bool try_update_thread_state (Thread *thread, Thread::State old_state, Thread::State new_state)
 

Constructor & Destructor Documentation

◆ ~ThreadScheduler()

virtual Realm::ThreadScheduler::~ThreadScheduler ( void  )
virtual

Member Function Documentation

◆ set_thread_priority()

virtual void Realm::ThreadScheduler::set_thread_priority ( Thread thread,
int  new_priority 
)
pure virtual

◆ thread_blocking()

virtual void Realm::ThreadScheduler::thread_blocking ( Thread thread)
pure virtual

◆ thread_ready()

virtual void Realm::ThreadScheduler::thread_ready ( Thread thread)
pure virtual

◆ thread_starting()

virtual void Realm::ThreadScheduler::thread_starting ( Thread thread)
pure virtual

◆ thread_terminating()

virtual void Realm::ThreadScheduler::thread_terminating ( Thread thread)
pure virtual

◆ try_update_thread_state()

bool Realm::ThreadScheduler::try_update_thread_state ( Thread thread,
Thread::State  old_state,
Thread::State  new_state 
)
protected

◆ update_thread_state()

Thread::State Realm::ThreadScheduler::update_thread_state ( Thread thread,
Thread::State  new_state 
)
protected

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