mirror of https://github.com/bsnes-emu/bsnes.git
14 lines
195 B
C++
14 lines
195 B
C++
|
struct Scheduler {
|
||
|
cothread_t host_thread;
|
||
|
cothread_t active_thread;
|
||
|
|
||
|
void enter();
|
||
|
void exit();
|
||
|
void swapto(Processor&);
|
||
|
|
||
|
void init();
|
||
|
Scheduler();
|
||
|
};
|
||
|
|
||
|
extern Scheduler scheduler;
|