C# Class AvalonStudio.TextEditor.Utils.BusyManager

This class is used to prevent stack overflows by representing a 'busy' flag that prevents reentrance when another call is running. However, using a simple 'bool busy' is not thread-safe, so we use a thread-static BusyManager.
Afficher le fichier Open project: VitalElement/AvalonStudio

Méthodes publiques

Méthode Description
Enter ( object obj ) : BusyLock

Method Details

Enter() public static méthode

public static Enter ( object obj ) : BusyLock
obj object
Résultat BusyLock