Partager via


IHostSemaphore, interface

Représente l'implémentation par l'hôte d'un sémaphore pour le thread.

Méthodes

Méthode

Description

IHostSemaphore::ReleaseSemaphore, méthode

Augmente le compteur de l'instance IHostSemaphore actuelle du montant spécifié.

IHostSemaphore::Wait, méthode

Fait en sorte que l'instance IHostSemaphore actuelle patiente jusqu'à ce qu'elle soit détenue ou que la durée spécifiée s'écoule.

Spécifications

Plateformes : consultez Configuration requise du .NET Framework.

En-tête : MSCorEE.h

Bibliothèque : incluse en tant que ressource dans MSCorEE.dll

Versions du .NET Framework : 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

Voir aussi

Référence

ICLRSyncManager, interface

IHostAutoEvent, interface

IHostManualEvent, interface

IHostSyncManager, interface

Autres ressources

Interfaces d'hébergement