/NtyCo

coroutine, webbench, tinyhttpd

Primary LanguageC

NtyCo

coroutine

实现原理

details

coroutine FSM

storage structure (ready, wait, sleep, status)

nty_server process

compile

$ make

server

$ ./bin/nty_server

client

./bin/nty_client

mul_process, mul_core

$ ./bin/nty_server_mulcore

websocket

$ ./bin/nty_websocket_server

bench

$ ./bin/nty_bench

http server

$ ./bin/nty_http_server_mulcore