class SystemThreads

Encapsulates the operating system threading facilities More...

Contains pure virtuals
Full nameArts::SystemThreads
Definition#include <arts/thread.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods


Detailed Description

Encapsulates the operating system threading facilities

SystemThreads * the ()

the

[static]

bool  init (SystemThreads *the)

init

[static]

bool  supported ()

supported

[static]

Check whether there is threading support available

If there is no real threading support, the Threading classes try to gracefully degrade the performance. For instance, locking a mutex will do * nothing, and calling the start() function of a Thread will execute it's run function.

Returns: true if there are real threads

bool  isMainThread ()

isMainThread

[pure virtual]

Check wether the current thread is the main thread

The main thread is the thread that the application's main() was executed in. The IOManager event loop will only run in the main thread.

Mutex_impl * createMutex_impl ()

createMutex_impl

[pure virtual]

Thread_impl * createThread_impl (Thread *thread)

createThread_impl

[pure virtual]

ThreadCondition_impl * createThreadCondition_impl ()

createThreadCondition_impl

[pure virtual]

 ~SystemThreads ()

~SystemThreads

[virtual]


Generated by: stefan on stefan on Sat Jun 2 23:13:28 2001, using kdoc 2.0a53.