https://github.com/zhongruoyu/stdthread
A self-contained C++17 std::thread implementation with pthread.
https://github.com/zhongruoyu/stdthread
cpp cpp17 pthread threading
Last synced: 5 months ago
JSON representation
A self-contained C++17 std::thread implementation with pthread.
- Host: GitHub
- URL: https://github.com/zhongruoyu/stdthread
- Owner: ZhongRuoyu
- License: mit
- Created: 2022-07-02T05:15:58.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-12T13:07:16.000Z (over 3 years ago)
- Last Synced: 2025-02-24T06:46:47.600Z (about 1 year ago)
- Topics: cpp, cpp17, pthread, threading
- Language: C++
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# stdthread
stdthread is a self-contained C++17 threading library implemented with
pthread. It is fully compatible with the standard library's `std::thread`.
The implementation of stdthread is based on LLVM's
[libc++](https://github.com/llvm/llvm-project/tree/main/libcxx), licensed
under
[the Apache License v2.0 with LLVM Exceptions](https://github.com/llvm/llvm-project/blob/main/libcxx/LICENSE.TXT).
However, it only relies on the C++ standard library, can be built with any
other C++ standard library implementations, like libstdc++.
A lightweight version of stdthread is also available. Please see
[minithread](https://github.com/ZhongRuoyu/minithread).