Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

2.2 The Threads.h++ Packages

Threads.h++ is made up of seven packages.

2.2.1 Threading Package

Contains prebuilt, object-oriented, portable implementations of key multithreading mechanisms. You can use these thread classes to create threads, assign work to threads, set thread priority, and more.


NOTE: This package contains the thread creation and control classes from Threads.h++ 1.4.

2.2.2 Synchronization Package

Contains a set of prebuilt, object-oriented, cross-platform implementations of popular thread synchronization mechanisms. You can control access to shared resources using mutexes, semaphores, locks, guards, condition variables, and more.


NOTE: This package contains the thread synchronization mechanisms from Threads.h++ 1.4.

2.2.3 Interthread Communication Package

Contains higher-level threading abstractions such as IOUs and producer-consumer classes. You can use these abstractions to design communication between threads within applications.


NOTE: This package contains the higher-level threading abstractions from Threads.h++ 1.4.

2.2.4 Smart Pointer Package

Contains low-level classes, including a handle-body implementation for separating your abstractions from their implementation, a generic singleton template for adapting an existing class to behave as a singleton, and smart pointers for the thread-safe and exception-safe management of dynamically allocated resources.


NOTE: This package contains the smart pointer classes from Threads.h++ 1.4.

2.2.5 Functor Package

Contains low-level classes called functors. Functors supply interfaces for invocation that are independent of the actual functions. You can combine the functor classes with others in Threads.h++ to transform your existing single-threaded code into multithreaded code.


NOTE: This package contains the functor classes from Threads.h++ 1.4.

2.2.6 Execution Tracing Package

Contains a flexible execution tracing facility that enables you to monitor the runtime behavior of your applications. Trace output messages can be filtered at both compile-time and runtime for maximum flexibility.

2.2.7 Thread-compatible Exception Package

Includes a simple framework for handling exceptions at their point of occurrence and returning a string for display on a GUI or for logging to a file. Handlers can be set for unexpected and uncaught exceptions.


Previous fileTop of DocumentContentsIndexNext file

©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.