スレッドに関するクラス

これらの Qt Core クラスは、アプリケーションにスレッド処理のサポートを提供します。Qtでのマルチスレッド処理のページでは、これらのクラスの使用方法について解説しています。

Concurrent Filter and Filter-Reduce

シーケンスから値を選択し、それらを結合する――すべてを並列に実行

Concurrent Map and Map-Reduce

シーケンスから値を変換し、それらを結合する(すべて並列処理)

Concurrent Run

別のスレッドでタスクを実行する簡単な方法

Concurrent Task

別のスレッドでタスクを実行する、設定可能な方法

QAtomicInteger

整数に対するプラットフォーム非依存のアトミック操作

QAtomicPointer

ポインタに対するプラットフォーム非依存の原子操作を提供するテンプレートクラス

QFuture

非同期計算の結果を表す

QFutureSynchronizer

QFutureの同期処理を簡略化する便利クラス

QFutureWatcher

シグナルとスロットを使用してQFutureを監視できるようにする

QMutex

スレッド間のシリアライゼーションへのアクセス

QMutexLocker

ミューテックスのロックおよびアンロックを簡略化する便利クラス

QPromise

QFutureからアクセスされる計算結果を格納する方法

QReadLocker

読み取りアクセス用の読み書きロックのロックおよびロック解除を簡略化する便利クラス

QReadWriteLock

読み書きロック

QRecursiveMutex

スレッド間のアクセスシリアル化

QRunnable

実行可能なすべてのオブジェクトの基底クラス

QSemaphore

汎用カウンティングセマフォ

QSemaphoreReleaser

QSemaphore::release() 呼び出しの例外安全な延期

QThread

プラットフォームに依存しないスレッド管理方法

QThreadPool

QThreadのコレクションを管理する

QThreadStorage

スレッドごとのデータ格納

QWaitCondition

スレッドを同期させるための条件変数

QWriteLocker

書き込みアクセス用の読み書きロックのロックおよびロック解除を簡略化する便利クラス

QtConcurrent

低レベルのスレッドプリミティブを使用せずにマルチスレッドプログラムを記述することを可能にする高レベルAPI

QtConcurrent::QTaskBuilder

タスクのパラメータを調整するために使用されます

QtFuture::WhenAnyResult

QtFuture::WhenAnyResult は、QtFuture::whenAny() の結果を表現するために使用されます

QAtomicInteger::qYieldCpu()

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.