summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-06-24 22:55:46 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-06-24 22:55:46 (GMT)
commitedf3a0110ce8528a64d1f061cb73b478989fceef (patch)
tree267a0662ab2eb52a821c057ed36db25cbc4e38c2
parentfd5c6436d4be5ce6db57a8a34951c8ab4dac9000 (diff)
downloadQt-edf3a0110ce8528a64d1f061cb73b478989fceef.zip
Qt-edf3a0110ce8528a64d1f061cb73b478989fceef.tar.gz
Qt-edf3a0110ce8528a64d1f061cb73b478989fceef.tar.bz2
Add Q_CORE_EXPORT to ThreadEngineBarrier
The ThreadEngine template uses functions from ThreadEngineBarrier, so ThreadEngineBarrier must be exported to other libraries/programs that instantiate the template. Reviewed-by: trustme
-rw-r--r--src/corelib/concurrent/qtconcurrentthreadengine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/concurrent/qtconcurrentthreadengine.h b/src/corelib/concurrent/qtconcurrentthreadengine.h
index 286c2b8..896b193 100644
--- a/src/corelib/concurrent/qtconcurrentthreadengine.h
+++ b/src/corelib/concurrent/qtconcurrentthreadengine.h
@@ -66,7 +66,7 @@ namespace QtConcurrent {
// The ThreadEngineBarrier counts worker threads, and allows one
// thread to wait for all others to finish. Tested for its use in
// QtConcurrent, requires more testing for use as a general class.
-class ThreadEngineBarrier
+class Q_CORE_EXPORT ThreadEngineBarrier
{
private:
// The thread count is maintained as an integer in the count atomic