openMSX
RTSchedulable.cc
Go to the documentation of this file.
1#include "RTSchedulable.hh"
2#include "RTScheduler.hh"
3
4namespace openmsx {
5
7 : scheduler(scheduler_)
8{
9}
10
15
16void RTSchedulable::scheduleRT(uint64_t delta)
17{
18 cancelRT();
19 scheduler.add(delta, *this);
20}
21
23{
24 return scheduler.remove(*this);
25}
26
28{
29 return scheduler.isPending(*this);
30}
31
32} // namespace openmsx
RTSchedulable(const RTSchedulable &)=delete
void scheduleRT(uint64_t delta)
This file implemented 3 utility functions:
Definition Autofire.cc:9