【原创】modb 功能设计之“跨线程通信”

【第一个版本】        使用 pipe 作为跨线程通信方式,使用如下代码来支持 pipe: ? 1 2 3 4 5 6 # 使用 _pipe 来模拟 pipe #if defined(WIN32) || defined(_WIN32) #include <io.h> #include <fcntl.h> #define pipe(fds) _pipe(fds, 4096, _O_BINARY
相关文章
相关标签/搜索