From Wikipedia, the free encyclopedia
|
|
This article needs references that appear in reliable third-party publications. Primary sources or sources affiliated with the subject are generally not sufficient for a Wikipedia article. Please add more appropriate citations from reliable sources. (November 2009) |
ZThread is a cross-platform high-level object-oriented C++ library, which provides an interface to both POSIX Pthread and Windows API threads. It's licensed under MIT License and authored by Eric Crahen
ZThread is one of several C++ threading libraries available: such as Boost threads, POCO, Intel Threading Building Blocks. It provides many advanced features, such as
- Clean, minimal and complete interfaces
- Rich set of primitives
- Uses modern design techniques, such as policy based design
- Thread objects life cycle management
- Priority mutex, condition, semaphore
- Ability to cancel, interrupt threads in a manner similar to Java
- Executor interface decouples Task execution from method of execution. Thread pool is a special executor.
- Queue support (Locked, Blocking, Bounded, Monitored)
[edit] External links