Snapshot của ossrs/state-threads: 758★ · C++ · Backend. Lightweight thread library for C/C++ coroutine (similar to goroutine), for high performance network servers.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Remark: Windows native build is unsupported right now.
Branch SRS
The branch srs was patched and refined:
ARM: Patch st.arm.patch, for ARM.
OSX: Patch st.osx.kqueue.patch, for osx.
Linux: Patch st.disable.examples.patch, for ubuntu.
System: Refine TAB of code.
ARM: Merge from michaeltalyansky and xzh3836598, support ARM.
Valgrind: Merge from toffaletti, support valgrind for ST.
OSX: Patch st.osx10.14.build.patch, for osx 10.14 build.
ARM: Support macro MD_ST_NO_ASM to disable ASM, #8.
AARCH64: Merge patch srs#1282 to support aarch64, #9.
OSX: Support OSX for Apple Darwin, macOS, #11.
System: Refine performance for sleep or epoll_wait(0), #17.
System: Support utest by gtest and coverage by gcov/gocvr.
System: Only support for Linux and Darwin. #19, srs#2188.
System: Improve the performance of timer. 9fe8cfe5b, 7879c2b, 387cddb
Windows: Support Windows 64bits. #20.
MIPS: Support Linux/MIPS for OpenWRT, #21.
LOONGARCH: Support loongarch for loongson CPU, #24.
System: Support Multiple Threads for Linux and Darwin. #19, srs#2188.
RISCV: Support RISCV for RISCV CPU, #24.
MIPS: Support Linux/MIPS64 for loongson 3A4000/3B3000, #21.
AppleM1: Support Apple Silicon M1(aarch64), #30.
IDE: Support CLion for debugging and learning.
Define and use a new jmpbuf, because the structure is different.
Check capability for backtrack.
Support set specifics for any thread.
Support st_destroy to free resources for asan.
Support free the stack, #38.
System: Support sendmmsg for UDP, #12.
GDB Tools
Support nn_coroutines, show number of coroutines.
Support show_coroutines, show all coroutines and caller function.
Valgrind
How to debug with gdb under valgrind, read valgrind manual.
About startup parameters, read valgrind cli.
Important cli options:
--undef-value-errors=<yes|no> [default: yes], Controls whether Memcheck reports uses of undefined value errors. Set this to no if you don't want to see undefined value errors. It also has the side effect of speeding up Memcheck somewhat.
--leak-check=<no|summary|yes|full> [default: summary], When enabled, search for memory leaks when the client program finishes. If set to summary, it says how many leaks occurred. If set to full or yes, each individual leak will be shown in detail and/or counted as an error, as specified by the options --show-leak-kinds and --errors-for-leak-kinds.
--track-origins=<yes|no> [default: no], Controls whether Memcheck tracks the origin of uninitialised values. By default, it does not, which means that although it can tell you that an uninitialised value is being used in a dangerous way, it cannot tell you where the uninitialised value came from. This often makes it difficult to track down the root problem.
--show-reachable=<yes|no> , --show-possibly-lost=<yes|no>, to show the using memory.
Linux: UTest
Note: We use Google test in utest/gtest-fit.
To make ST with utest and run it:
make linux-debug-utest && ./obj/st_utest
Note that the gcc(4.8) of CentOS is too old, please use docker(ossrs/srs:dev-gcc7) to run:
ossrs/state-threads có 758 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/ossrs/state-threads. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
Commit gần nhất trên ossrs/state-threads là 10 tháng trước (theo timestamp GitHub). Repo có 277 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
ossrs/state-threads là gì?
ossrs/state-threads (ossrs/state-threads) là dự án C++ trên GitHub. Theo mô tả gốc: Lightweight thread library for C/C++ coroutine (similar to goroutine), for high performance network servers.
ossrs/state-threads so với các dự án Backend khác thế nào?
ossrs/state-threads được TopGit xếp vào nhóm Backend, với 758 sao GitHub và viết bằng C++. Xem trang chủ đề Backend trên TopGit để so sánh với các dự án tương tự theo số sao và mức độ hoạt động.
ossrs/state-threads viết bằng ngôn ngữ gì?
ossrs/state-threads chủ yếu viết bằng C++. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Vì sao ossrs/state-threads được xếp vào nhóm Backend?
TopGit xếp ossrs/state-threads vào nhóm Backend dựa trên GitHub topics và mô tả của repo (gắn thẻ: "async", "asyncio", "c"). Việc phân loại dựa trên metadata thật của repo, không phải đoán theo cảm tính biên tập.
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về state-threads?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về state-threads.