IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Threading Classes

How to develop multithreaded applications.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Threading Classes

These Qt Core classes provide threading support to applications. The Thread Support in Qt page covers how to use these classes.

  • Concurrent Filter and Filter-Reduce: Selecting values from a sequence and combining them, all in parallel.

  • Concurrent Map and Map-Reduce: Transforming values from a sequence and combining them, all in parallel.

  • Concurrent Run: A simple way to run a task in a separate thread.

  • Concurrent Task: A configurable way to run a task in a separate thread.

  • QAtomicInteger: The QAtomicInteger class provides platform-independent atomic operations on integers.

  • QAtomicPointer: The QAtomicPointer class is a template class that provides platform-independent atomic operations on pointers.

  • QFuture: The QFuture class represents the result of an asynchronous computation.

  • QFutureSynchronizer: The QFutureSynchronizer class is a convenience class that simplifies QFuture synchronization.

  • QFutureWatcher: The QFutureWatcher class allows monitoring a QFuture using signals and slots.

  • QMutex: The QMutex class provides access serialization between threads.

  • QMutexLocker: The QMutexLocker class is a convenience class that simplifies locking and unlocking mutexes.

  • QPromise: The QPromise class provides a way to store computation results to be accessed by QFuture.

  • QReadLocker: The QReadLocker class is a convenience class that simplifies locking and unlocking read-write locks for read access.

  • QReadWriteLock: The QReadWriteLock class provides read-write locking.

  • QRecursiveMutex: The QRecursiveMutex class provides access serialization between threads.

  • QRunnable: The QRunnable class is the base class for all runnable objects.

  • QSemaphore: The QSemaphore class provides a general counting semaphore.

  • QSemaphoreReleaser: The QSemaphoreReleaser class provides exception-safe deferral of a QSemaphore::release() call.

  • QThread: The QThread class provides a platform-independent way to manage threads.

  • QThreadPool: The QThreadPool class manages a collection of QThreads.

  • QThreadStorage: The QThreadStorage class provides per-thread data storage.

  • QWaitCondition: The QWaitCondition class provides a condition variable for synchronizing threads.

  • QWriteLocker: The QWriteLocker class is a convenience class that simplifies locking and unlocking read-write locks for write access.

  • QtConcurrent: The QtConcurrent namespace provides high-level APIs that make it possible to write multi-threaded programs without using low-level threading primitives.

  • QtConcurrent::QTaskBuilder: The QTaskBuilder class is used for adjusting task parameters.

  • QtFuture::WhenAnyResult: QtFuture::WhenAnyResult is used to represent the result of QtFuture::whenAny().

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+