ZThreads

From Wikipedia, the free encyclopedia
Jump to: navigation, search
ZThreads
Original author(s) Eric Crahen
Initial release June 22, 2000; 13 years ago (2000-06-22)
Stable release 2.3.2 / March 13, 2005; 9 years ago (2005-03-13)
Written in C++
Operating system POSIX (Mac OS X, Unix), Windows
Type Library or framework
License MIT
Website zthread.sourceforge.net

ZThreads is a cross-platform high-level object-oriented C++ library, which provides an interface to application programming interface (API) threads for POSIX Pthreads and Windows API threads.[1] It is licensed under MIT License and authored by Eric Crahen.

ZThread is one of several C++ threading libraries available: such as Boost, POCO, and TBB.

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 via means similar to Java
  • Executor interface decouples task execution from execution method; thread pool is a special executor
  • Queue support: locked, blocking, bounded, monitored

References[edit]

  1. ^ "ZThread". Freshmeat. Geeknet, Inc. Retrieved 18 August 2011. 

External links[edit]