Simple example of how to execute code in threads
https://xmake.io/#/
https://github.com/xmake-io/xmake-vscode
xmake project -k compile_commands
xmake project -k vsxmake // this one generate a visual studio solution
there is a docker container made for use in visual studio code just install docker and the vscode extension
https://code.visualstudio.com/docs/devcontainers/containers
follows just hit the notification "reopen in container" that appers when you open this repository as folder in vscode
this container setup a gcc and clang compiler in ubuntu for quick test