yake::thread

yake::thread provides a minimalistic subset of threading functionality for use within YAKE.

Thread-safety of certain parts of YAKE can be deactivated easily either by choosing a null-plugin implementation or, in the future, by providing a precompiler define.

Interfaces

IMutex and ILockable

Summary: Use for synchronizing resources.

ISemaphore

Summary: Use for synchronizing threads.

IThread

ITask

IRunnable

Default Implementations (alternative to plugins)

If enabled, default implementations will be created (classes called thread::Mutex, thread::Thread etc).

The underlying implementation can be selected using defines. See yake/thread/yakeThread.h for more information.

Mutex, Task ...

Plugins

Existing plugins at the time of writing:

  • yake.null - implementation does nothing :)
  • yake.zthread - implementation uses ZThread
  • yake.openthreads - implementation uses OpenThreads

Examples

 
component/yakethread.txt · Last modified: 2008/02/21 21:54 (external edit)
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki