随笔分类 - C++
摘要:最近项目需要控制子线程执行一段程序之后,等待主线程信号,达到同步执行的目的, 研究了下condition_variable ,以便项目中使用 #include <thread> #include <iostream> #include "glock.h" #include "mylogger.h"
阅读全文
摘要:1. 使用统一的调用约束(__stdcall) 2. array of 调用 delphi 接口: procedure ProcessArray(const Arr: array of Integer); stdcall; VC: typedef void(__stdcall *ProcessArr
阅读全文

浙公网安备 33010602011771号