Skip to content

refactor(samples): replace pthreads with std::thread in multithreaded sample#13733

Open
Subham-KRLX wants to merge 7 commits intomicrosoft:mainfrom
Subham-KRLX:feature/cpp11-thread-sample
Open

refactor(samples): replace pthreads with std::thread in multithreaded sample#13733
Subham-KRLX wants to merge 7 commits intomicrosoft:mainfrom
Subham-KRLX:feature/cpp11-thread-sample

Conversation

@Subham-KRLX
Copy link
Contributor

This PR addresses issue #13732 by refactoring the multithreaded sample to use C++11 instead of pthreads.

✅ 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
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants