![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++ 跨平台
jsjxm1984
这个作者很懒,什么都没留下…
展开
-
你需要用mutex去保护一个int吗?
结论是需要的: 见原文 http://www.alexonlinux.com/do-you-need-mutex-to-protect-int http://www.alexonlinux.com/why-you-need-a-mutex-to-protect-an-int Starting 4 threads... After doing all the math, global_...原创 2019-12-06 15:28:24 · 162 阅读 · 0 评论 -
VSCode C++ Debug
windows平台: 在launch.json中添加 { "name": "(Windows) 启动", "type": "cppvsdbg", "request": "launch", "program": "${workspaceFolder}/build/win/x86/player_demo_win.exe", "args": [], "stopAtEntry": fal...原创 2019-11-27 15:24:46 · 336 阅读 · 0 评论 -
VSCode添加MSBuild
在tasks.json里面tasks下添加: { "type": "shell", "label": "VS2019 MSBuild", "command": "${env:ProgramFiles(x86)}\\Microsoft Visual Studio\\2019\\Enterprise\\MSBuild\\Current\\Bin\\MSBuild.exe", "args":...原创 2019-11-27 15:22:12 · 3143 阅读 · 1 评论