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.
os_thread
, os_this_thread, os_future_thread,
os_future, os_trap,
os_thread_pool and demonstrates spawning and
controlling threads using several intuitive functions.For information about initializing the Thread<ToolKit> or about how this toolkit handles exceptions, see Introduction to Foundations
Copyright©1994-2026 Recursion
Software LLC
All Rights Reserved - For use by licensed users only.