Skip to content
forked from wangbojing/NtyCo

纯c版本的协程实现,汇编切换,调度器实现,包含服务器端案例,客户端并发测试案例

Notifications You must be signed in to change notification settings

xsong0411/NtyCo

This branch is 31 commits behind wangbojing/NtyCo:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jun 24, 2019
564d3f1 · Jun 24, 2019

History

46 Commits
Mar 15, 2019
May 9, 2019
Mar 15, 2019
Aug 18, 2018
Mar 15, 2019
Mar 15, 2019
Aug 16, 2018
Mar 15, 2019
Jun 24, 2019

Repository files navigation

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

协程技术交流群:829348971

About

纯c版本的协程实现,汇编切换,调度器实现,包含服务器端案例,客户端并发测试案例

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 94.5%
  • Makefile 2.8%
  • HTML 1.8%
  • Perl 0.9%