![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Socket
芋头大神
这个作者很懒,什么都没留下…
展开
-
《Windows核心编程》学习——_beginThread,CreateThread辨析
本篇解释了为什么创建新线程的时候使用_beginThread比使用CreateThread更为安全这一问题。 C/C++库的历史问题: 标准的C运行库(C Runtime Class, CRT),是在1970年发明的,那个时候操作系统上还没有线程的概念,理所当然地,最初的C运行时库是线程不安全的。下面给出一个例子: 标准C运行库有一个全局变量errno。有一些函数会在出错的时候设置这个变量。...转载 2019-02-03 14:58:33 · 1086 阅读 · 0 评论 -
CreateFile,ReadFile 详解(msdn翻译)
CreateFile The CreateFile function creates or opens the following objects and returns a handle that can be used to access the object: files pipes mailslots communications resources disk devic...翻译 2019-02-03 15:01:17 · 1091 阅读 · 0 评论