Zthread

Zthread

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 [http://www.boost.org/doc/html/thread.html Boost threads] , [http://www.appinf.com/poco/docs/ 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)

External links

* [http://zthread.sourceforge.net/index.html Sourceforge site]
* [http://bruce-eckel.developpez.com/livres/cpp/ticpp/v2/?page=page_14#L3.4.2.1 "Thinking in C++ - Volume 2"] Concurrency tutorial with examples for "zthread".


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Monitor (synchronization) — In concurrent programming, a monitor is an object or module intended to be used safely by more than one thread. The defining characteristic of a monitor is that its methods are executed with mutual exclusion. That is, at each point in time, at… …   Wikipedia

  • Spurious wakeup — In the POSIX thread API, the function pthread cond wait is used to wait on a condition variable. A naive programmer might expect that when a thread returns from this function, the condition associated with the condition variable will be true.… …   Wikipedia

  • List of multi-threading libraries — List of cross platform multi threading libraries for the c++ programming language.* Boost C++ Libraries * OpenMP * OpenThreads * POCO Thread (part of POCO project http://pocoproject.org/poco/info/index.html ) * Zthread * Intel Threading Building… …   Wikipedia

  • Монитор (синхронизация) — У этого термина существуют и другие значения, см. Монитор. Монитор  в языках программирования, высокоуровневый механизм взаимодействия и синхронизации процессов, обеспечивающий доступ к неразделяемым ресурсам.[1] Подход к синхронизации двух… …   Википедия

  • Список многопоточных библиотек C++ — Список кроссплатформенных многопоточных библиотек для языка программирования C++. Набор библиотек Boost OpenMP OpenThreads POCO Thread (часть проекта POCO  http://pocoproject.org/poco/info/index.html ) Zthread Pthreads (Ptreads w32) Qt4… …   Википедия

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”