boost::xint::options::threadsafe Struct Reference

Ensures that the integer_t objects can be safely used by multiple threads. More...


Detailed Description

Ensures that the integer_t objects can be safely used by multiple threads.

This is the opposite of the copy_on_write option. It is the default behavior; the option is provided only to make it easier to write self-documenting code.

Note that even with this option, it is still your responsibility to ensure that only one thread accesses a particular integer object at a time.

Definition at line 112 of file options.hpp.


The documentation for this struct was generated from the following file:

© Copyright Chad Nelson, 2010-2011. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)