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.
ファイルを表示 Open project: kjk/kjkpub

Public Methods

Method Description
Enter ( object obj ) : BusyLock

Method Details

Enter() public static method

public static Enter ( object obj ) : BusyLock
obj object
return BusyLock