Thread<ToolKit>


Thread<ToolKit> contains cross-platform thread and synchronization classes that create threads and coordinate their activities. Thread<ToolKit> offers more portability than any other current C++ implementation in existence today.

Although you can write powerful programs maximizing concurrency in a multithreaded environment, you can encounter problems. For example, most objects are not written with multithreading in mind. If two threads of control enter the same object and the object is not thread-aware, the internal data structure of the object can be corrupted.

This chapter provides a summary of classes included in the Thread<ToolKit> libraries and discusses the benefits of using Thread<ToolKit>. This chapter uses examples to illustrate thread and synchronization classes, and includes sections covering the following topics.

For information about initializing the Thread<ToolKit> or about how this toolkit handles exceptions, see Introduction to Foundations

Thread<ToolKit> Classes

Thread<ToolKit> Benefits

Threads and Thread-Specific Data

Semaphores

Semaphore Helpers

Producer-Consumer Containers


Copyright©1994-2026 Recursion Software LLC
All Rights Reserved - For use by licensed users only.