热门标签
更多>
搜索结果
查询Tags标签: 游双,共有 2条记录-
游双-Linux高性能服务器编程笔记
#define MAX_THREADS 1class Test { public:Test(): m_stop(false), s("Object exists.") {printf("ctor\n");m_threads = new pthread_t[MAX_THREADS];for (int i = 0; i < MAX_THREADS; i++) {pthread_create(m_threads + i, NULL, worker, this…
2021/12/15 7:17:50 人评论 次浏览 -
游双-Linux高性能服务器编程笔记
#define MAX_THREADS 1class Test { public:Test(): m_stop(false), s("Object exists.") {printf("ctor\n");m_threads = new pthread_t[MAX_THREADS];for (int i = 0; i < MAX_THREADS; i++) {pthread_create(m_threads + i, NULL, worker, this…
2021/12/15 7:17:50 人评论 次浏览