> ## 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.

# XThreadIsTimeSensitive

> XThreadIsTimeSensitive

# XThreadIsTimeSensitive

호출 스레드가 시간에 민감한 것으로 표시되었는지 여부를 나타냅니다.

## 구문

```cpp theme={null}
bool XThreadIsTimeSensitive(  
)  
```

### 매개 변수

없음.

### 반환 값

형식: bool

호출 스레드가 시간에 민감한 것으로 표시되어 있으면 `true`를 반환하고, 그렇지 않으면 `false`를 반환합니다.

## 설명

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

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

시간에 민감하지 않은 메서드의 시작 부분에 [XThreadAssertNotTimeSensitive](/reference/system/xthread/functions/xthreadassertnottimesensitive) 함수를 사용하면, 시간에 민감한 스레드에서 해당 메서드가 호출되는 경우 디버거로 중단할 수 있습니다.

## 요구 사항

**헤더:** XThread.h

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

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

## 함께 보기

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