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

# game_chat_thread_id

> game_chat_thread_id

# game\_chat\_thread\_id

Game Chat 2가 내부용으로 사용하는 스레드 유형을 정의합니다.

## 구문

```cpp theme={null}
enum class game_chat_thread_id  
{  
    audio,  
    networking,  
}  
```

## 상수

| 상수 | 설명 |
| - | - |
| audio | Game Chat 2 내부 오디오 스레드를 나타냅니다.  Game Chat 내부 오디오 스레드는 실시간 요구 사항이 있는 우선순위가 높고 자주 실행되는 스레드입니다. 이 스레드는 20\~40밀리초마다 XAudio2와 직접 상호 작용합니다. |
| networking | Game Chat 2 내부 네트워킹 스레드를 나타냅니다.  Game Chat 2 내부 네트워킹 스레드는 폴링 메커니즘에 의해 구동됩니다. 이 스레드는 50\~100밀리초마다 깨어납니다. |

## 설명

이 열거형은 [chat\_manager::get\_thread\_processor](https://docs.xbox.com/ko/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_get_thread_processor.md) 및 [chat\_manager::set\_thread\_processor](https://docs.xbox.com/ko/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_set_thread_processor.md)에서 프로세서 선호도가 구성된 Game Chat 2 내부 스레드 유형을 식별하는 데 사용됩니다.

`chat_manager::set_thread_processor`를 호출하여 Game Chat 2 내부 오디오 스레드의 프로세서 선호도를 구성하는 경우, Game Chat 2용 XAudio2 인스턴스는 구성된 프로세서 번호에 해당하는 프로세서 선호도로 초기화됩니다. 이 스레드 유형에 대해 프로세서 번호가 지정되지 않은 경우 Game Chat 2용 XAudio2 인스턴스는 프로세서 선호도가 `XAUDIO2_DEFAULT_PROCESSOR`로 설정된 상태로 초기화됩니다.

## 요구 사항

**헤더:** GameChat2.h

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

## 함께 보기

[Game Chat 2 소개](https://docs.xbox.com/ko/services/xbox-services/multiplayer/chat/game-chat2/game-chat-2-intro.md)\
[GameChat2 멤버](https://docs.xbox.com/ko/reference/chat/gamechat2/gamechat2_members.md)


## Related topics

- [get_thread_processor](https://docs.xbox.com/ko/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_get_thread_processor.md)
- [set_thread_processor](https://docs.xbox.com/ko/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_set_thread_processor.md)
- [get_thread_affinity_mask](https://docs.xbox.com/ko/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_get_thread_affinity_mask.md)
- [set_thread_affinity_mask](https://docs.xbox.com/ko/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_set_thread_affinity_mask.md)
- [GameChat2 멤버(API 콘텐츠)](https://docs.xbox.com/ko/reference/chat/gamechat2/gamechat2_members.md)
