diff options
Diffstat (limited to 'doc/html/threads.html')
-rw-r--r-- | doc/html/threads.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/threads.html b/doc/html/threads.html index eb3c50767..b99b2f144 100644 --- a/doc/html/threads.html +++ b/doc/html/threads.html @@ -88,19 +88,19 @@ entry in <tt>ntqconfig.h</tt>. </h2> <a name="3"></a><p> These classes are built into the TQt library when thread support is enabled: <p> <ul> -<li> <a href="ntqthread.html">TQThread</a> - Provides the means to start a new thread, which begins -execution in your reimplementation of <a href="ntqthread.html#run">TQThread::run</a>(). This is similar +<li> <a href="tqthread.html">TQThread</a> - Provides the means to start a new thread, which begins +execution in your reimplementation of <a href="tqthread.html#run">TQThread::run</a>(). This is similar to the Java thread class. -<p> <li> <a href="ntqthreadstorage.html">TQThreadStorage</a> - Provides per-thread data storage. This class can +<p> <li> <a href="tqthreadstorage.html">TQThreadStorage</a> - Provides per-thread data storage. This class can only be used with threads started with TQThread; it cannot be used with threads started with platform-specific APIs. -<p> <li> <a href="ntqmutex.html">TQMutex</a> - Provides a mutual exclusion lock (also know as a mutex). -<li> <a href="qmutexlocker.html">TQMutexLocker</a> - A convenience class which automatically locks and +<p> <li> <a href="tqmutex.html">TQMutex</a> - Provides a mutual exclusion lock (also know as a mutex). +<li> <a href="tqmutexlocker.html">TQMutexLocker</a> - A convenience class which automatically locks and unlocks a TQMutex. TQMutexLocker is useful in complicated code, or in code which uses exceptions. See the documentation for more details. -<li> <a href="ntqwaitcondition.html">TQWaitCondition</a> - Provides a way for threads to go to sleep until +<li> <a href="tqwaitcondition.html">TQWaitCondition</a> - Provides a way for threads to go to sleep until woken up by another thread. -<li> <a href="ntqsemaphore.html">TQSemaphore</a> - Provides a simple integer semaphore. +<li> <a href="tqsemaphore.html">TQSemaphore</a> - Provides a simple integer semaphore. </ul> <p> <h2> Important Definitions </h2> @@ -145,7 +145,7 @@ reentrant, since they only reference unique data. Only one thread at a time can call member functions on each instance of <tt>Number</tt>. However, multiple threads can call member functions on separate instances of <tt>Number</tt>. -<p> Thread-safe functions usually use a mutex (e.g a <a href="ntqmutex.html">TQMutex</a>) to serialize +<p> Thread-safe functions usually use a mutex (e.g a <a href="tqmutex.html">TQMutex</a>) to serialize access to shared data. Because of this, thread-safe functions are usually slower than reentrant functions, because of the extra overhead of locking and unlocking the mutex. For example, given the class <tt>Counter</tt> below: @@ -307,7 +307,7 @@ instead, which will cause the event loop to delete the object after all pending events have been delivered to the object. <p> <li> Don't do any blocking operations while holding the TQt library mutex. This will freeze up the event loop. -<p> <li> Make sure you unlock a recursive <a href="ntqmutex.html">TQMutex</a> as many times as you lock +<p> <li> Make sure you unlock a recursive <a href="tqmutex.html">TQMutex</a> as many times as you lock it, no more and no less. <p> <li> Don't mix the normal TQt library and the threaded TQt library in your application. This means that if your application uses the threaded TQt |