Removed volatile keyword from 2 data members.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@504 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
ccad1a5623
commit
48ec640065
1 changed files with 5 additions and 2 deletions
|
@ -219,7 +219,7 @@ namespace Loki
|
||||||
template < class Host, class MutexPolicy = Loki::Mutex >
|
template < class Host, class MutexPolicy = Loki::Mutex >
|
||||||
class ObjectLevelLockable
|
class ObjectLevelLockable
|
||||||
{
|
{
|
||||||
mutable volatile MutexPolicy mtx_;
|
mutable MutexPolicy mtx_;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ObjectLevelLockable() : mtx_() {}
|
ObjectLevelLockable() : mtx_() {}
|
||||||
|
@ -289,7 +289,7 @@ namespace Loki
|
||||||
struct Initializer
|
struct Initializer
|
||||||
{
|
{
|
||||||
bool init_;
|
bool init_;
|
||||||
volatile MutexPolicy mtx_;
|
MutexPolicy mtx_;
|
||||||
|
|
||||||
Initializer() : init_(false), mtx()
|
Initializer() : init_(false), mtx()
|
||||||
{
|
{
|
||||||
|
@ -380,6 +380,9 @@ namespace Loki
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.22 2006/01/21 01:05:44 rich_sposato
|
||||||
|
// Removed volatile keyword from 2 data members.
|
||||||
|
//
|
||||||
// Revision 1.21 2006/01/21 01:02:12 rich_sposato
|
// Revision 1.21 2006/01/21 01:02:12 rich_sposato
|
||||||
// Added Mutex class to Loki. Made it the default policy class for locking.
|
// Added Mutex class to Loki. Made it the default policy class for locking.
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue