blob: 12efbfc89e777d8809af17658b0a42fbf269c21f (
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");
}
}
|