projects
/
libcds.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
issue#11: tests/unit: changed .h file guard prefix to CDSUNIT_xxx
[libcds.git]
/
tests
/
unit
/
lock
/
nolock.h
1
//$$CDS-header$$
2
3
#ifndef CDSUNIT_LOCK_NOLOCK_H
4
#define CDSUNIT_LOCK_NOLOCK_H
5
6
namespace lock {
7
// Win32 critical section
8
class NoLock {
9
public:
10
void lock() {}
11
void unlock() {}
12
bool try_lock() { return true; }
13
};
14
}
15
16
#endif // #ifndef CDSUNIT_LOCK_NOLOCK_H