dtact 0.1.4

Dtact: A non-preemptive, stackful coroutine runtime featuring a lock-free context arena, P2P mesh scheduling, and architecture-specific assembly switchers. Designed for hardware-level control and non-blocking heterogeneous orchestration.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CC = gcc
CFLAGS = -Wall -Wextra -O2
# CFLAGS = -Wall -Wextra -g -O0
LDFLAGS = -L../target/release -ldtact -Wl,-rpath,../target/release

all: c_async run_rust

c_async: c_async.c
	$(CC) $(CFLAGS) -o c_async c_async.c $(LDFLAGS)

run_rust:
	cargo run --example rust_async

run: c_async
	./c_async

clean:
	rm -f c_async