> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XThreadAssertNotTimeSensitive

> XThreadAssertNotTimeSensitive

# XThreadAssertNotTimeSensitive

호출 스레드가 시간에 민감한 것으로 표시된 경우 디버거로 중단됩니다.

## 구문

```cpp theme={null}
void XThreadAssertNotTimeSensitive(  
)  
```

### 매개 변수

없음.

### 반환 값

형식: void

없음.

## 설명

이 함수는 호출 스레드가 *시간에 민감한 스레드*로 표시된 경우 디버거로 중단됩니다. 이런 스레드에서는 차단 작업이나 오래 실행되는 작업을 수행해서는 안 됩니다. 시간에 민감한 스레드에서는 시간에 민감해도 안전한 GRTS(Gaming Runtime Services) API만 호출할 수 있습니다. 자세한 내용은 [시간에 민감한 스레드](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/overviews/threads/time-sensitive-threads)를 참조하세요.

이 함수가 시간에 민감한 스레드에서 호출되고 디버거가 연결되어 있지 않으면 이 호출은 아무 작업도 수행하지 않습니다. 디버거가 연결되어 있으면 디버거로 중단되고 다음 예제와 유사한 디버그 문자열을 출력합니다.

```dos theme={null}
***
*** Time Sensitive Thread Violation ***
***
*** This thread is marked as Time Sensitive and is calling an API that is
*** not time-sensitive-safe.
***
*** To disable these breakpoints globally, set byte at
*** enable_time_sensitive_asserts (0x00000000) to 0.
***
```

스레드를 시간에 민감한 상태로 설정하거나 지우려면 [XThreadSetTimeSensitive](/reference/system/xthread/functions/xthreadsettimesensitive) 함수를 사용합니다. 이 함수는 GRTS(Gaming Runtime Services) API로 쿼리할 수 있는 스레드 로컬 저장소의 비트를 설정하거나 지웁니다.

필요에 따라 런타임에 호출 스레드가 시간에 민감한지 테스트하려면 [XThreadIsTimeSensitive](/reference/system/xthread/functions/xthreadistimesensitive) 함수를 사용합니다.

## 요구 사항

**헤더:** XThread.h

**라이브러리:** xgameruntime.lib

**지원 플랫폼:** Windows, XBOX One 제품군 콘솔 및 XBOX Series 콘솔

## 개념 문서

* [시간에 민감한 스레드](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/overviews/threads/time-sensitive-threads)

## 함께 보기

[XThread](/reference/system/xthread/xthread_members)\
[시간에 민감한 스레드](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/overviews/threads/time-sensitive-threads)


## Related topics

- [XThread](/ko/reference/system/xthread/xthread_members.md)
- [XThreadIsTimeSensitive](/ko/reference/system/xthread/functions/xthreadistimesensitive.md)
- [XThreadSetTimeSensitive](/ko/reference/system/xthread/functions/xthreadsettimesensitive.md)
- [XAppBroadcastIsAppBroadcasting](/ko/reference/system/xappcapture/functions/xappbroadcastisappbroadcasting.md)
- [XAppBroadcastRegisterIsAppBroadcastingChanged](/ko/reference/system/xappcapture/functions/xappbroadcastregisterisappbroadcastingchanged.md)
