liblightning 0.0.2

High-performance general-purpose stackful coroutine library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
extern crate libc;
#[macro_use]
extern crate lazy_static;

pub mod co;
pub mod stack;
pub mod stack_pool;
pub mod scheduler;
pub mod promise;
mod invoke_box;
mod platform;

pub use co::{CoState, Yieldable};
pub use stack::Stack;
pub use stack_pool::{StackPool, StackPoolConfig};
pub use promise::Promise;
pub use scheduler::{Scheduler, SchedulerConfig};