多线程
Away-Far
这个作者很懒,什么都没留下…
展开
-
基于window多线程实现web服务端
实现源代码 #ifndef _HTTP_SERVER_H #define _HTTP_SERVER_H #include <WinSock2.h> #include <process.h> #include "stdlib.h" #include "stdio.h" #include "string.h" #pragma comment(lib,"ws2_32.lib") #define BUF_SIZE 2048 #define BUF_SMALL 100 #def..原创 2020-09-23 14:55:21 · 171 阅读 · 0 评论 -
Qt程序退出QThread: Destroyed while thread is still running问题
Qt程序退出QThread: Destroyed while thread is still running问题解决方法: 在主线程中使用new Qthread在堆上创建,即可解决。原创 2020-09-11 14:15:37 · 2604 阅读 · 0 评论