TpSetCallbackThreadpool 함수(winnt.h)

콜백 환경에 스레드 풀을 할당합니다.

구문

void TpSetCallbackThreadpool(
  [in, out] PTP_CALLBACK_ENVIRON CallbackEnviron,
  [in]      PTP_POOL             Pool
);

매개 변수

[in, out] CallbackEnviron

콜백 환경을 정의하는 TP_CALLBACK_ENVIRON 구조체입니다. TpInitializeCallbackEnviron 함수는 이 구조를 반환합니다.

[in] Pool

스레드 풀을 정의하는 TP_POOL 구조체입니다. CreateThreadpool 함수는 이 구조를 반환합니다.

반환 값

없음

설명

스레드 풀을 지정하지 않으면 전역 스레드 풀이 사용됩니다.

이 함수는 인라인 함수로 구현됩니다.

요구 사항

요구 사항
대상 플랫폼 Windows
헤더 winnt.h

추가 정보

TpDestroyCallbackEnviron

TpInitializeCallbackEnviron

TpSetCallbackActivationContext

TpSetCallbackCleanupGroup

TpSetCallbackFinalizationCallback

TpSetCallbackLongFunction

TpSetCallbackNoActivationContext

TpSetCallbackPersistent

TpSetCallbackPriority

TpSetCallbackRaceWithDll