![]() |
CopperSpice API
1.9.2
|
Classes which are used when writing a multi-threaded application. More...
Classes | |
class | QAtomicInt |
Platform independent atomic operations on integers More... | |
class | QAtomicPointer< T > |
Template providing platform independent atomic operations on pointers More... | |
class | QFuture< T > |
Result of an asynchronous computation More... | |
class | QFutureSynchronizer< T > |
Simplifies QFuture synchronization More... | |
class | QFutureWatcher< T > |
Allows monitoring a QFuture using signals and slots More... | |
class | QMutex |
Provides exclusive access to a block of code by different threads More... | |
class | QMutexLocker |
Simplifies locking and unlocking mutexes More... | |
class | QReadLocker |
Simplifies locking and unlocking read and write locks for read access More... | |
class | QReadWriteLock |
Read and write locking More... | |
class | QRecursiveMutex |
Provides exclusive access to a block of code by different threads More... | |
class | QRecursiveMutexLocker |
Simplifies locking and unlocking mutexes More... | |
class | QRunnable |
Base class for all runnable objects More... | |
class | QSemaphore |
General counting semaphore More... | |
class | QThread |
Platform independent way to manage threads More... | |
class | QThreadPool |
Manages a collection of QThreads More... | |
class | QThreadStorage< T > |
Per-thread data storage More... | |
class | QWaitCondition |
Condition variable for synchronizing threads More... | |
class | QWriteLocker |
Simplifies locking and unlocking read and write locks for write access More... | |
class | QtConcurrentMap |
Header providing Concurrent Map and MapReduce More... | |
class | QtConcurrentRun |
A header which supports running functions in separate threads More... | |
CopperSpice provides thread support in the form of platform independent threading classes, a thread-safe way of posting events, and signal-slot connections across threads. This makes it easy to develop portable multithreaded applications and take advantage of multiprocessor machines. Multithreaded programming is also a useful paradigm for performing time-consuming operations without freezing the user interface of an application.
Threading classes are implemented with native threading APIs such as Win32 and pthreads. They can be used with native threads. Threads are always enabled in CopperSpice.