diff options
author | Morten Sørvig <msorvig@trolltech.com> | 2009-06-26 08:56:41 (GMT) |
---|---|---|
committer | Morten Sørvig <msorvig@trolltech.com> | 2009-06-26 13:15:14 (GMT) |
commit | b798c301d34f0f1ec69ca533bc91e575fac9843b (patch) | |
tree | 722a356e28a30e4466b19630e901c41aa7bf8ea1 /src/corelib/concurrent/qtconcurrentiteratekernel.h | |
parent | 8e9a6aca959336ef150021a858178fc3cd1ad426 (diff) | |
download | Qt-b798c301d34f0f1ec69ca533bc91e575fac9843b.zip Qt-b798c301d34f0f1ec69ca533bc91e575fac9843b.tar.gz Qt-b798c301d34f0f1ec69ca533bc91e575fac9843b.tar.bz2 |
De-export the ThreadEngineBarrier class and de-inline the call to acquire.
(ThreadEngineBarrier was implemented in the header as ThreadEngineSemaphore
in Qt 4.4 and Qt 4.5, and exported for a brief time in the Qt master branch. )
Unfortunately the inline call to acquire means that applications compiled
with Qt 4.4. and Qt 4.5 will contain a copy of the old implementation.
This is BC as long as the memory layout of the ThreadEngineBarrier class
stays the same, which means that we keep the QMutex member variable.
The old version of acquire will no longer be thread-safe since the new
version doesn't lock the mutex, but this is fortunately not a problem;
the only place it's called is in startAsynchronously() before the worker
threads are started.
Diffstat (limited to 'src/corelib/concurrent/qtconcurrentiteratekernel.h')
0 files changed, 0 insertions, 0 deletions