vscode-cpptools
vscode-cpptools copied to clipboard
refactor(samples): replace pthreads with std::thread in multithreaded sample
This PR addresses issue #13732 by refactoring the multithreaded sample to use C++11
✅ Highlights:
- Replaced platform-specific pthread code with std::thread
- Improved thread safety using atomic operations
- Updated Makefile to reflect C++11 changes
- Validated build on macOS and ensured cross-platform compatibility