1
0
mirror of https://github.com/bshoshany/thread-pool.git synced 2026-07-21 19:13:00 +04:00

Updated to v5.0.0

This commit is contained in:
Barak Shoshany
2024-12-19 21:02:25 -05:00
parent 097aa718f2
commit aa3fbfbe80
28 changed files with 9217 additions and 2669 deletions
+110
View File
@@ -0,0 +1,110 @@
{
"configurations": [
{
"browse": {
"limitSymbolsToIncludedHeaders": true
},
"compilerArgs": [
"-stdlib=libc++"
],
"compilerPath": "/usr/bin/clang++",
"cppStandard": "c++17",
"cStandard": "c17",
"defines": [
"BS_THREAD_POOL_NATIVE_EXTENSIONS"
],
"includePath": [
"${workspaceFolder}/**"
],
"intelliSenseMode": "linux-clang-x64",
"name": "Clang C++17"
},
{
"browse": {
"limitSymbolsToIncludedHeaders": true
},
"compilerArgs": [
"-stdlib=libc++"
],
"compilerPath": "/usr/bin/clang++",
"cppStandard": "c++20",
"cStandard": "c17",
"defines": [
"BS_THREAD_POOL_NATIVE_EXTENSIONS"
],
"includePath": [
"${workspaceFolder}/**"
],
"intelliSenseMode": "linux-clang-x64",
"name": "Clang C++20"
},
{
"browse": {
"limitSymbolsToIncludedHeaders": true
},
"compilerArgs": [
"-stdlib=libc++"
],
"compilerPath": "/usr/bin/clang++",
"cppStandard": "c++23",
"cStandard": "c23",
"defines": [
"BS_THREAD_POOL_NATIVE_EXTENSIONS"
],
"includePath": [
"${workspaceFolder}/**"
],
"intelliSenseMode": "linux-clang-x64",
"name": "Clang C++23"
},
{
"browse": {
"limitSymbolsToIncludedHeaders": true
},
"compilerPath": "/usr/bin/g++",
"cppStandard": "c++17",
"cStandard": "c17",
"defines": [
"BS_THREAD_POOL_NATIVE_EXTENSIONS"
],
"includePath": [
"${workspaceFolder}/**"
],
"intelliSenseMode": "linux-gcc-x64",
"name": "GCC C++17"
},
{
"browse": {
"limitSymbolsToIncludedHeaders": true
},
"compilerPath": "/usr/bin/g++",
"cppStandard": "c++20",
"cStandard": "c17",
"defines": [
"BS_THREAD_POOL_NATIVE_EXTENSIONS"
],
"includePath": [
"${workspaceFolder}/**"
],
"intelliSenseMode": "linux-gcc-x64",
"name": "GCC C++20"
},
{
"browse": {
"limitSymbolsToIncludedHeaders": true
},
"compilerPath": "/usr/bin/g++",
"cppStandard": "c++23",
"cStandard": "c23",
"defines": [
"BS_THREAD_POOL_NATIVE_EXTENSIONS"
],
"includePath": [
"${workspaceFolder}/**"
],
"intelliSenseMode": "linux-gcc-x64",
"name": "GCC C++23"
}
],
"version": 4
}
+59
View File
@@ -0,0 +1,59 @@
{
"configurations": [
{
"args": [],
"cwd": "${workspaceFolder}${/}build",
"name": "Build and debug (Clang C++17)",
"preLaunchTask": "Build for debugging (Clang C++17)",
"program": "${workspaceFolder}${/}build${/}${fileBasenameNoExtension}_debug-clang-cpp17",
"request": "launch",
"type": "lldb"
},
{
"args": [],
"cwd": "${workspaceFolder}${/}build",
"name": "Build and debug (Clang C++20)",
"preLaunchTask": "Build for debugging (Clang C++20)",
"program": "${workspaceFolder}${/}build${/}${fileBasenameNoExtension}_debug-clang-cpp20",
"request": "launch",
"type": "lldb"
},
{
"args": [],
"cwd": "${workspaceFolder}${/}build",
"name": "Build and debug (Clang C++23)",
"preLaunchTask": "Build for debugging (Clang C++23)",
"program": "${workspaceFolder}${/}build${/}${fileBasenameNoExtension}_debug-clang-cpp23",
"request": "launch",
"type": "lldb"
},
{
"args": [],
"cwd": "${workspaceFolder}${/}build",
"name": "Build and debug (GCC C++17)",
"preLaunchTask": "Build for debugging (GCC C++17)",
"program": "${workspaceFolder}${/}build${/}${fileBasenameNoExtension}_debug-gcc-cpp17",
"request": "launch",
"type": "cppdbg"
},
{
"args": [],
"cwd": "${workspaceFolder}${/}build",
"name": "Build and debug (GCC C++20)",
"preLaunchTask": "Build for debugging (GCC C++20)",
"program": "${workspaceFolder}${/}build${/}${fileBasenameNoExtension}_debug-gcc-cpp20",
"request": "launch",
"type": "cppdbg"
},
{
"args": [],
"cwd": "${workspaceFolder}${/}build",
"name": "Build and debug (GCC C++23)",
"preLaunchTask": "Build for debugging (GCC C++23)",
"program": "${workspaceFolder}${/}build${/}${fileBasenameNoExtension}_debug-gcc-cpp23",
"request": "launch",
"type": "cppdbg"
}
],
"version": "0.2.0"
}
+532
View File
@@ -0,0 +1,532 @@
{
"tasks": [
{
"args": [
"scripts/compile_cpp.py",
"${file}",
"-c=clang++",
"-s=c++17",
"-t=debug",
"-v"
],
"command": "python3",
"detail": "Compile active file using clang++ with warning and debugging flags.",
"group": "build",
"label": "Build for debugging (Clang C++17)",
"presentation": {
"clear": false,
"echo": true,
"focus": false,
"panel": "shared",
"reveal": "always",
"revealProblems": "onProblem",
"showReuseMessage": true
},
"problemMatcher": [
"$gcc"
],
"type": "cppbuild"
},
{
"args": [
"scripts/compile_cpp.py",
"${file}",
"-c=clang++",
"-s=c++20",
"-t=debug",
"-v"
],
"command": "python3",
"detail": "Compile active file using clang++ with warning and debugging flags.",
"group": "build",
"label": "Build for debugging (Clang C++20)",
"presentation": {
"clear": false,
"echo": true,
"focus": false,
"panel": "shared",
"reveal": "always",
"revealProblems": "onProblem",
"showReuseMessage": true
},
"problemMatcher": [
"$gcc"
],
"type": "cppbuild"
},
{
"args": [
"scripts/compile_cpp.py",
"${file}",
"-c=clang++",
"-s=c++23",
"-t=debug",
"-v"
],
"command": "python3",
"detail": "Compile active file using clang++ with warning and debugging flags.",
"group": "build",
"label": "Build for debugging (Clang C++23)",
"presentation": {
"clear": false,
"echo": true,
"focus": false,
"panel": "shared",
"reveal": "always",
"revealProblems": "onProblem",
"showReuseMessage": true
},
"problemMatcher": [
"$gcc"
],
"type": "cppbuild"
},
{
"args": [
"scripts/compile_cpp.py",
"${file}",
"-c=g++",
"-s=c++17",
"-t=debug",
"-v"
],
"command": "python3",
"detail": "Compile active file using g++ with warning and debugging flags.",
"group": "build",
"label": "Build for debugging (GCC C++17)",
"presentation": {
"clear": false,
"echo": true,
"focus": false,
"panel": "shared",
"reveal": "always",
"revealProblems": "onProblem",
"showReuseMessage": true
},
"problemMatcher": [
"$gcc"
],
"type": "cppbuild"
},
{
"args": [
"scripts/compile_cpp.py",
"${file}",
"-c=g++",
"-s=c++20",
"-t=debug",
"-v"
],
"command": "python3",
"detail": "Compile active file using g++ with warning and debugging flags.",
"group": "build",
"label": "Build for debugging (GCC C++20)",
"presentation": {
"clear": false,
"echo": true,
"focus": false,
"panel": "shared",
"reveal": "always",
"revealProblems": "onProblem",
"showReuseMessage": true
},
"problemMatcher": [
"$gcc"
],
"type": "cppbuild"
},
{
"args": [
"scripts/compile_cpp.py",
"${file}",
"-c=g++",
"-s=c++23",
"-t=debug",
"-v"
],
"command": "python3",
"detail": "Compile active file using g++ with warning and debugging flags.",
"group": "build",
"label": "Build for debugging (GCC C++23)",
"presentation": {
"clear": false,
"echo": true,
"focus": false,
"panel": "shared",
"reveal": "always",
"revealProblems": "onProblem",
"showReuseMessage": true
},
"problemMatcher": [
"$gcc"
],
"type": "cppbuild"
},
{
"args": [
"scripts/compile_cpp.py",
"${file}",
"-c=clang++",
"-s=c++17",
"-t=release",
"-v"
],
"command": "python3",
"detail": "Compile active file using clang++ with warning and optimization flags.",
"group": "build",
"label": "Build optimized (Clang C++17)",
"presentation": {
"clear": false,
"echo": true,
"focus": false,
"panel": "shared",
"reveal": "always",
"revealProblems": "onProblem",
"showReuseMessage": true
},
"problemMatcher": [
"$gcc"
],
"type": "cppbuild"
},
{
"args": [
"scripts/compile_cpp.py",
"${file}",
"-c=clang++",
"-s=c++20",
"-t=release",
"-v"
],
"command": "python3",
"detail": "Compile active file using clang++ with warning and optimization flags.",
"group": "build",
"label": "Build optimized (Clang C++20)",
"presentation": {
"clear": false,
"echo": true,
"focus": false,
"panel": "shared",
"reveal": "always",
"revealProblems": "onProblem",
"showReuseMessage": true
},
"problemMatcher": [
"$gcc"
],
"type": "cppbuild"
},
{
"args": [
"scripts/compile_cpp.py",
"${file}",
"-c=clang++",
"-s=c++23",
"-t=release",
"-v"
],
"command": "python3",
"detail": "Compile active file using clang++ with warning and optimization flags.",
"group": "build",
"label": "Build optimized (Clang C++23)",
"presentation": {
"clear": false,
"echo": true,
"focus": false,
"panel": "shared",
"reveal": "always",
"revealProblems": "onProblem",
"showReuseMessage": true
},
"problemMatcher": [
"$gcc"
],
"type": "cppbuild"
},
{
"args": [
"scripts/compile_cpp.py",
"${file}",
"-c=g++",
"-s=c++17",
"-t=release",
"-v"
],
"command": "python3",
"detail": "Compile active file using g++ with warning and optimization flags.",
"group": "build",
"label": "Build optimized (GCC C++17)",
"presentation": {
"clear": false,
"echo": true,
"focus": false,
"panel": "shared",
"reveal": "always",
"revealProblems": "onProblem",
"showReuseMessage": true
},
"problemMatcher": [
"$gcc"
],
"type": "cppbuild"
},
{
"args": [
"scripts/compile_cpp.py",
"${file}",
"-c=g++",
"-s=c++20",
"-t=release",
"-v"
],
"command": "python3",
"detail": "Compile active file using g++ with warning and optimization flags.",
"group": "build",
"label": "Build optimized (GCC C++20)",
"presentation": {
"clear": false,
"echo": true,
"focus": false,
"panel": "shared",
"reveal": "always",
"revealProblems": "onProblem",
"showReuseMessage": true
},
"problemMatcher": [
"$gcc"
],
"type": "cppbuild"
},
{
"args": [
"scripts/compile_cpp.py",
"${file}",
"-c=g++",
"-s=c++23",
"-t=release",
"-v"
],
"command": "python3",
"detail": "Compile active file using g++ with warning and optimization flags.",
"group": "build",
"label": "Build optimized (GCC C++23)",
"presentation": {
"clear": false,
"echo": true,
"focus": false,
"panel": "shared",
"reveal": "always",
"revealProblems": "onProblem",
"showReuseMessage": true
},
"problemMatcher": [
"$gcc"
],
"type": "cppbuild"
},
{
"args": [
"scripts/compile_cpp.py",
"${file}",
"-c=clang++",
"-s=c++17",
"-t=release",
"-r",
"-v"
],
"command": "python3",
"detail": "Compile active file using clang++ with warning and optimization flags and run the program.",
"group": "test",
"label": "Build optimized and run (Clang C++17)",
"presentation": {
"clear": false,
"echo": true,
"focus": false,
"panel": "shared",
"reveal": "always",
"revealProblems": "onProblem",
"showReuseMessage": true
}
},
{
"args": [
"scripts/compile_cpp.py",
"${file}",
"-c=clang++",
"-s=c++20",
"-t=release",
"-r",
"-v"
],
"command": "python3",
"detail": "Compile active file using clang++ with warning and optimization flags and run the program.",
"group": "test",
"label": "Build optimized and run (Clang C++20)",
"presentation": {
"clear": false,
"echo": true,
"focus": false,
"panel": "shared",
"reveal": "always",
"revealProblems": "onProblem",
"showReuseMessage": true
}
},
{
"args": [
"scripts/compile_cpp.py",
"${file}",
"-c=clang++",
"-s=c++23",
"-t=release",
"-r",
"-v"
],
"command": "python3",
"detail": "Compile active file using clang++ with warning and optimization flags and run the program.",
"group": "test",
"label": "Build optimized and run (Clang C++23)",
"presentation": {
"clear": false,
"echo": true,
"focus": false,
"panel": "shared",
"reveal": "always",
"revealProblems": "onProblem",
"showReuseMessage": true
}
},
{
"args": [
"scripts/compile_cpp.py",
"${file}",
"-c=g++",
"-s=c++17",
"-t=release",
"-r",
"-v"
],
"command": "python3",
"detail": "Compile active file using g++ with warning and optimization flags and run the program.",
"group": "test",
"label": "Build optimized and run (GCC C++17)",
"presentation": {
"clear": false,
"echo": true,
"focus": false,
"panel": "shared",
"reveal": "always",
"revealProblems": "onProblem",
"showReuseMessage": true
}
},
{
"args": [
"scripts/compile_cpp.py",
"${file}",
"-c=g++",
"-s=c++20",
"-t=release",
"-r",
"-v"
],
"command": "python3",
"detail": "Compile active file using g++ with warning and optimization flags and run the program.",
"group": "test",
"label": "Build optimized and run (GCC C++20)",
"presentation": {
"clear": false,
"echo": true,
"focus": false,
"panel": "shared",
"reveal": "always",
"revealProblems": "onProblem",
"showReuseMessage": true
}
},
{
"args": [
"scripts/compile_cpp.py",
"${file}",
"-c=g++",
"-s=c++23",
"-t=release",
"-r",
"-v"
],
"command": "python3",
"detail": "Compile active file using g++ with warning and optimization flags and run the program.",
"group": "test",
"label": "Build optimized and run (GCC C++23)",
"presentation": {
"clear": false,
"echo": true,
"focus": false,
"panel": "shared",
"reveal": "always",
"revealProblems": "onProblem",
"showReuseMessage": true
}
},
{
"args": [
"scripts/clear_folder.py",
"../build"
],
"command": "python3",
"detail": "Delete all files in the build folder.",
"group": "test",
"label": "Clear build folder",
"presentation": {
"clear": false,
"echo": true,
"focus": false,
"panel": "shared",
"reveal": "always",
"revealProblems": "onProblem",
"showReuseMessage": true
},
"type": "shell"
},
{
"args": [
"scripts/clear_folder.py",
"../temp"
],
"command": "python3",
"detail": "Delete all files in the temp folder.",
"group": "test",
"label": "Clear temp folder",
"presentation": {
"clear": false,
"echo": true,
"focus": false,
"panel": "shared",
"reveal": "always",
"revealProblems": "onProblem",
"showReuseMessage": true
},
"type": "shell"
},
{
"args": [
"scripts/test_all.py"
],
"command": "python3",
"detail": "Compile and run the test program with all available compilers and all relevant C++ standards.",
"group": "test",
"label": "Run all tests",
"presentation": {
"clear": false,
"echo": true,
"focus": false,
"panel": "shared",
"reveal": "always",
"revealProblems": "onProblem",
"showReuseMessage": true
},
"type": "shell"
}
],
"version": "2.0.0"
}