-class ParallelRawContext : public RawContext {
-public:
- ParallelRawContext(std::function<void()> code, void_pfn_smxprocess_t cleanup_func, smx_actor_t process,
- SwappedContextFactory* factory)
- : RawContext(std::move(code), cleanup_func, process, factory)
- {
- }
- void suspend() override;
- void resume() override;
-
- static void run_all();
-};
-