blob: e4b218a7ca3710247357a0b3c62e07f5ff2322de (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include <library/cpp/testing/unittest/registar.h>
#include "what_thread_does_guard.h"
#include <util/system/mutex.h>
Y_UNIT_TEST_SUITE(WhatThreadDoesGuard) {
Y_UNIT_TEST(Simple) {
TMutex mutex;
TWhatThreadDoesAcquireGuard<TMutex> guard(mutex, "acquiring my mutex");
}
}
|