Skip to content
Snippets Groups Projects
Commit 7a54261b authored by j2-tulloch's avatar j2-tulloch :speech_balloon:
Browse files

Upload New File

parent b3634c9c
No related branches found
No related tags found
No related merge requests found
#ifndef SCHEDULER_H
#define SCHEDULER_H
#include <deque>
#include "fiber.h"
class scheduler {
private:
std::deque<fiber*> fibers_;
Context context_;
public:
scheduler();
~scheduler();
void spawn(fiber* f);
void do_it();
void fiber_exit();
};
#endif // SCHEDULER_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment