libcommunism
Userspace cooperative threading library
|
#include "UContext.h"
#include "CothreadPrivate.h"
#include <cstddef>
#include <cstdlib>
#include <mutex>
#include <stdexcept>
#include <ucontext.h>
Go to the source code of this file.
Macros | |
#define | _XOPEN_SOURCE |
#define _XOPEN_SOURCE |
Context switching using the ucontext
methods from the C library.
This is very very slow.
Definition at line 15 of file UContext.cpp.