Zthread

From Wikipedia, the free encyclopedia

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.

ZThread is one of several C++ threading libraries available: such as Boost threads, POCO. 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