what_thread_does_guard_ut.cpp 299 B

12345678910111213
  1. #include <library/cpp/testing/unittest/registar.h>
  2. #include "what_thread_does_guard.h"
  3. #include <util/system/mutex.h>
  4. Y_UNIT_TEST_SUITE(WhatThreadDoesGuard) {
  5. Y_UNIT_TEST(Simple) {
  6. TMutex mutex;
  7. TWhatThreadDoesAcquireGuard<TMutex> guard(mutex, "acquiring my mutex");
  8. }
  9. }