研究协程

时间:2021-02-20 03:53:58
【文件属性】:
文件名称:研究协程
文件大小:137KB
文件格式:ZIP
更新时间:2021-02-20 03:53:58
C 研究协程 研究ST(状态线程)和Go(goroutine)。 用法 首先,克隆此git并启动docker: docker pull ossrs/dev && git clone https://github.com/winlinvip/study-coroutine.git && cd study-coroutine && docker run -it -v `pwd`:/tmp -w /tmp ossrs/dev bash 其次,构建所有: (cd st-server/st-1.9 && make EXTRA_CFLAGS=-DMALLOC_STACK linux-debug) && (cd st-server && g++ -Ist-1.9/obj -g -O0 main.cpp st-1.9/obj/libst.a -o st-server) && (cd go-client
【文件预览】:
study-coroutine-master
----.gitignore(155B)
----st-server()
--------main.cpp(2KB)
--------st-1.9()
----go-client()
--------main.go(1KB)
----LICENSE(1KB)
----README.md(1KB)
----go-server()
--------main.go(731B)

网友评论