release all locks
This commit is contained in:
parent
ae96420925
commit
7a6865637d
@ -32,12 +32,10 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
LogPolicy::GetInstance().Unmute();
|
LogPolicy::GetInstance().Unmute();
|
||||||
|
SimpleLogger().Write() << "Releasing all locks";
|
||||||
SharedBarriers barrier;
|
SharedBarriers barrier;
|
||||||
SimpleLogger().Write() << "This (debug) tool simply aquires a lock ...";
|
barrier.pending_update_mutex.unlock();
|
||||||
boost::interprocess::scoped_lock<
|
barrier.query_mutex.unlock();
|
||||||
boost::interprocess::named_mutex
|
barrier.update_mutex.unlock();
|
||||||
> pending_lock(barrier.pending_update_mutex);
|
|
||||||
SimpleLogger().Write() << "pending update lock aquired. Press key to exit.";
|
|
||||||
std::cin.get();
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user