Changeset 10789
- Timestamp:
- 11/19/09 17:53:29 (4 years ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/include/OpenThreads/Atomic (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/OpenThreads/Atomic
r9467 r10789 1 1 /* -*-c++-*- OpenThreads library, Copyright (C) 2008 The Open Thread Group 2 2 * 3 * This library is open source and may be redistributed and/or modified under 4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or 3 * This library is open source and may be redistributed and/or modified under 4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or 5 5 * (at your option) any later version. The full license is in LICENSE file 6 6 * included with this distribution, and on the openscenegraph.org website. 7 * 7 * 8 8 * This library is distributed in the hope that it will be useful, 9 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 11 * OpenSceneGraph Public License for more details. 12 12 */ … … 61 61 Atomic(const Atomic&); 62 62 Atomic& operator=(const Atomic&); 63 63 64 64 #if defined(_OPENTHREADS_ATOMIC_USE_MUTEX) 65 65 mutable Mutex _mutex; … … 168 168 #elif defined(_OPENTHREADS_ATOMIC_USE_MUTEX) 169 169 ScopedLock<Mutex> lock(_mutex); 170 _value |= value; 170 _value |= value; 171 171 return _value; 172 172 #else
