Base Framework
Unsafe Class Reference

Select no synchronization. More...

#include <base/concurrency/Synchronizeable.h>

Detailed Description

Select no synchronization.

This class is used to specify that a synchronize able class should not be synchronized. In other words the class will be unsafe to use in a multi- threaded environment. If you, however, know that an object is only going to be accessed by one thread at a time you can use unsafe objects for better performance. This class is the only non-lock class that can be used with the classes Synchronizeable and Synchronize. Unsafe triggers a highly optimized specialization in either case.

See also
Synchronizeable, Synchronize