Girish Mahajan (Editor)

ZThreads

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Original author(s)
  
Eric Crahen

Type
  
Library or framework

Written in
  
C++

Initial release
  
June 22, 2000; 16 years ago (2000-06-22)

Stable release
  
2.3.2 / March 13, 2005; 12 years ago (2005-03-13)

Operating system
  
POSIX (Mac OS X, Unix), Windows

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. It is licensed under the 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

    ZThreads Wikipedia