An open API service indexing awesome lists of open source software.

https://github.com/c0de4un/cxx-thread-util

C++ utility library for threads api (posix & Windows).
https://github.com/c0de4un/cxx-thread-util

async-programming asynchronous-programming cpp cxx multithread multithreading multithreading-library pthread stl stl-threadsafe thread thread-safety threading

Last synced: about 1 year ago
JSON representation

C++ utility library for threads api (posix & Windows).

Awesome Lists containing this project

README

          

# cxx-thread-util
C++ utility library for threads api (posix & Windows).

# Project-Target (why ?)
Writing same patterns of async-works for different small-projects (tutorial games, UI client-server apps)
takes time. Yes, by rewriting old code again you improving skill, learning optimization & errors (bugs).
But having ready-to-use library is also helpful.

# Features
- handles platform-specific api (Windows & posix) ;
- errors-handling using events (messages) type ;
- auto-deletion of forgotten threads (wait until complete or detach) ;

# Requirements
- C++ 11+
- MSVC || GCC || Clang
- CMake
- Posix or Windows

# Usage
- Library designed to support STATIC & SHARED (dynamic) linking.
- due to dynamic nature of allocations using C++, its not required to call
single-tone specific methods (static functions), like init or terminate, managing-class
handles factory-calls itself.