C# Class ICSharpCode.AvalonEdit.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: kjk/kjkpub

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