| 96 | bool m_bExclusiveLock; |
| 97 | |
| 98 | void Unlock() |
| 99 | { |
| 100 | if (m_openfile) { |
| 101 | if (m_bExclusiveLock) |
| 102 | m_openfile->UnlockExclusive(); |
| 103 | else |
| 104 | m_openfile->UnlockShared(); |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | void Lock() |
| 109 | { |
nothing calls this directly
no test coverage detected