TpSetCallbackLongFunction, fonction (winnt.h)
Indique que les rappels associés à cet environnement de rappel peuvent ne pas revenir rapidement.
Syntaxe
void TpSetCallbackLongFunction(
[in, out] PTP_CALLBACK_ENVIRON CallbackEnviron
);
Paramètres
[in, out] CallbackEnviron
Structure TP_CALLBACK_ENVIRON qui définit l’environnement de rappel. La fonction TpInitializeCallbackEnviron retourne cette structure.
Valeur de retour
None
Remarques
Le pool de threads peut utiliser ces informations pour mieux déterminer quand un nouveau thread doit être créé.
Cette fonction est implémentée en tant que fonction inline.
Configuration requise
Plateforme cible | Windows |
En-tête | winnt.h |
Voir aussi
TpSetCallbackActivationContext
TpSetCallbackFinalizationCallback
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour