terminal/src/cascadia/WinRTUtils/inc/thread_assert.h
Leonard Hecker 2c947a0cd2 wip
2021-08-17 04:17:41 +02:00

15 lines
353 B
C++

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
#pragma once
#ifdef NDEBUG
constexpr void mark_as_foreground_thread() {}
constexpr void assert_foreground_thread() {}
constexpr void assert_background_thread() {}
#else
void mark_as_foreground_thread();
void assert_foreground_thread();
void assert_background_thread();
#endif