From a04d4d01eb8e38b8ec5367114b5581bd64eee17e Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期五, 23 四月 2021 15:44:12 +0800 Subject: [PATCH] mutex unlock check timeout to avoid double unlock. --- .vscode/tasks.json | 29 +++-------------------------- 1 files changed, 3 insertions(+), 26 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 352fba0..d07ebba 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -3,32 +3,10 @@ { "type": "cppbuild", "label": "C/C++: g++ build active file", - "command": "/usr/bin/g++", - "args": [ - "-g", - "${file}", - "-o", - "${fileDirname}/${fileBasenameNoExtension}" - ], + "command": "ninja", + "args": [], "options": { - "cwd": "${workspaceFolder}" - }, - "problemMatcher": [ - "$gcc" - ], - "group": { - "kind": "build", - "isDefault": true - }, - "detail": "Task generated by Debugger." - }, - { - "type": "cppbuild", - "label": "C/C++: g++ build active file", - "command": "make", - "args": ["build"], - "options": { - "cwd": "${workspaceFolder}" + "cwd": "${workspaceFolder}/debug" }, "problemMatcher": [ "$gcc" @@ -36,7 +14,6 @@ "group": "build", "detail": "compiler: /usr/bin/g++" } - ], "version": "2.0.0" } \ No newline at end of file -- Gitblit v1.8.0