state-threads:为SRS修补的轻量级线程库,协程或c ++ goroutine

时间:2021-04-05 11:18:31
【文件属性】:
文件名称:state-threads:为SRS修补的轻量级线程库,协程或c ++ goroutine
文件大小:94KB
文件格式:ZIP
更新时间:2021-04-05 11:18:31
networking coroutines greenlet srs fiber 状态线程 从派生,针对修补。 参见: : 对于没有任何更改的原始ST,请签出。 用法 获取代码: git clone https://github.com/ossrs/state-threads.git && cd state-threads && git checkout srs 对于Linux: make linux-debug EXTRA_CFLAGS="-DMD_HAVE_EPOLL" 对于OSX: make darwin-debug EXTRA_CFLAGS="-DMD_HAVE_KQUEUE" 带有valgrindLinux: make linux-debug EXTRA_CFLAGS="-DMD_VALGRIND" 备注:用户必须安装valgrind,例如,在centos6 sudo yum install -y valgrind valgrind-deve
【文件预览】:
state-threads-srs
----io.c(19KB)
----st.spec(2KB)
----event.c(26KB)
----sync.c(8KB)
----md_linux.S(8KB)
----.circleci()
--------config.yml(441B)
----common.h(15KB)
----key.c(3KB)
----osguess.sh(1KB)
----auto()
--------coverage.sh(1KB)
--------fast.sh(1005B)
--------codecov.sh(2KB)
----utest()
--------st_utest.hpp(1KB)
--------Makefile(2KB)
--------st_utest.cpp(2KB)
----libst.def(1KB)
----sched.c(20KB)
----README.md(7KB)
----Makefile(8KB)
----stk.c(5KB)
----st.pc.in(206B)
----docs()
--------notes.html(17KB)
--------timeout_heap.txt(3KB)
--------fig.gif(5KB)
--------reference.html(99KB)
--------st.html(23KB)
----public.h(6KB)
----.gitignore(93B)
----README(12KB)
----md_darwin.S(4KB)
----md.h(8KB)

网友评论