015 _beginthreadex CreateThread 函数区别

_beginthreadex讲解
_beginthreadex
  ○ 纯 C/C++ API
    ○ 多线程这一块的运行库
  ○ C语言的错误处理机制 errno
    ○ 3条
    ○ 线程变得不安全了
  _beginthreadex();  //要比CreateThread 安全尽量使用_beginthreadex(); 创建线程
    //分配空间
    //调用CreateThread
  _endthreadex();

  CreateThread();
  EndThread();

原文地址:https://www.cnblogs.com/sdk123/p/7068161.html