ZLToolKit
ZLToolKit copied to clipboard
一个基于C++11的轻量级网络框架,基于线程池技术可以实现大并发网络IO
出现这个错误是因为 pthread_getname_np 函数在 glibc 2.12 版本之后才被添加进来,而 Alpine Linux 发行版使用的是 musl libc,它没有实现该函数的兼容接口 FROM frolvlad/alpine-glibc:alpine-3.14
你好,我用的 ZLToolKit/tests/test_tcpClient.cpp的demo,连接tcp服务时,modifyEvent 函数 提示 Invalid argument,请问这种情况正常吗 git commit :04d1c47d2568f5ce1ff84260cefaf2754e514a5e ```c++ 2024-04-18 10:52:38.787 D [test_tcpClient] [17486-stamp thread] util.cpp:366 operator() | Stamp thread started 2024-04-18 10:52:38.789 I [test_tcpClient] [17486-test_tcpClient] EventPoller.cpp:503 EventPollerPool |...
I plan to use zltoolkit for development, the scenario is similar to: TcpClient receives > processes > tcp replies. Since the processing is time-consuming, if I use one thread for...
Is there an interface for TcpServer to actively exit? I searched but couldn't find it. Do I need to modify the source code myself to implement it? >请问下TcpServer有主动退出的接口吗?找了下好像没有找到,请问下是不是要自己修改源码实现! `TRANS_BY_GITHUB_AI_ASSISTANT`
What do you think about using a coroutine pool to handle the event tasks listened by epoll in the poller thread? Would this improve performance? Is there a big difference...
```shell -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler:...
FAILED: server/CMakeFiles/TServer.dir/main.cpp.obj "D:\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\bin\Hostx64\x64\cl.exe" /TP -DDISABLE_REPORT -DENABLE_OPENSSL -DENABLE_VERSION -DMP4V2_NO_STDINT_DEFS -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_WIDGETS_LIB -DUNICODE -DWIN32 -DWIN32_LEAN_AND_MEAN -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -D_WINSOCK_DEPRECATED_NO_WARNINGS -I"C:\Program Files (x86)\openssl\include" -IC:\Users\Administrator\Desktop\project\telegram\cmake-build-debug -IC:\Users\Administrator\Desktop\project\telegram\third_party -IC:\Users\Administrator\Desktop\project\telegram\third_party\jsoncpp\include -IC:\Users\Administrator\Desktop\project\telegram\third_party\ZLToolKit\src...
Group number: 542509000, cannot be found in QQ search >群号:542509000,在QQ中搜索不到 `TRANS_BY_GITHUB_AI_ASSISTANT`
In UdpServer.cpp, after UdpServer receives the first data packet from the peer, it creates a new socket based on the local address and peer address. When creating a new socket,...
 In the run function of the thread pool, startSleep() and sleepWakeUp() are used to obtain the thread execution time and sleep time. Although both are locked,...