├── Libco源码分析.doc ├── Libco源码分析.pdf ├── Readme.md ├── libco.vsdx ├── libco ├── Makefile ├── README.md ├── co.mk ├── co_closure.h ├── co_epoll.cpp ├── co_epoll.h ├── co_hook_sys_call.cpp ├── co_routine.cpp ├── co_routine.h ├── co_routine_inner.h ├── co_routine_specific.h ├── coctx.cpp ├── coctx.h ├── coctx_swap.S ├── example_closure.cpp ├── example_cond.cpp ├── example_copystack.cpp ├── example_echocli.cpp ├── example_echosvr.cpp ├── example_poll.cpp ├── example_setenv.cpp ├── example_specific.cpp └── example_thread.cpp ├── libco图解.pdf ├── spp协程调度原理.jpg ├── spp协程调度原理.png └── 函数调用栈的描述.xlsx /Libco源码分析.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/Libco源码分析.doc -------------------------------------------------------------------------------- /Libco源码分析.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/Libco源码分析.pdf -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/Readme.md -------------------------------------------------------------------------------- /libco.vsdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/libco.vsdx -------------------------------------------------------------------------------- /libco/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/libco/Makefile -------------------------------------------------------------------------------- /libco/README.md: -------------------------------------------------------------------------------- 1 | 本库已转至 http://github.com/Tencent/libco 2 | -------------------------------------------------------------------------------- /libco/co.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/libco/co.mk -------------------------------------------------------------------------------- /libco/co_closure.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/libco/co_closure.h -------------------------------------------------------------------------------- /libco/co_epoll.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/libco/co_epoll.cpp -------------------------------------------------------------------------------- /libco/co_epoll.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/libco/co_epoll.h -------------------------------------------------------------------------------- /libco/co_hook_sys_call.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/libco/co_hook_sys_call.cpp -------------------------------------------------------------------------------- /libco/co_routine.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/libco/co_routine.cpp -------------------------------------------------------------------------------- /libco/co_routine.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/libco/co_routine.h -------------------------------------------------------------------------------- /libco/co_routine_inner.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/libco/co_routine_inner.h -------------------------------------------------------------------------------- /libco/co_routine_specific.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/libco/co_routine_specific.h -------------------------------------------------------------------------------- /libco/coctx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/libco/coctx.cpp -------------------------------------------------------------------------------- /libco/coctx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/libco/coctx.h -------------------------------------------------------------------------------- /libco/coctx_swap.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/libco/coctx_swap.S -------------------------------------------------------------------------------- /libco/example_closure.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/libco/example_closure.cpp -------------------------------------------------------------------------------- /libco/example_cond.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/libco/example_cond.cpp -------------------------------------------------------------------------------- /libco/example_copystack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/libco/example_copystack.cpp -------------------------------------------------------------------------------- /libco/example_echocli.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/libco/example_echocli.cpp -------------------------------------------------------------------------------- /libco/example_echosvr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/libco/example_echosvr.cpp -------------------------------------------------------------------------------- /libco/example_poll.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/libco/example_poll.cpp -------------------------------------------------------------------------------- /libco/example_setenv.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/libco/example_setenv.cpp -------------------------------------------------------------------------------- /libco/example_specific.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/libco/example_specific.cpp -------------------------------------------------------------------------------- /libco/example_thread.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/libco/example_thread.cpp -------------------------------------------------------------------------------- /libco图解.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/libco图解.pdf -------------------------------------------------------------------------------- /spp协程调度原理.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/spp协程调度原理.jpg -------------------------------------------------------------------------------- /spp协程调度原理.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/spp协程调度原理.png -------------------------------------------------------------------------------- /函数调用栈的描述.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunterhang/LibcoLearning/HEAD/函数调用栈的描述.xlsx --------------------------------------------------------------------------------