libcommunism
Userspace cooperative threading library
Macros
UContext.cpp File Reference
#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
 

Macro Definition Documentation

◆ _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.