Table of Contents

Class BusyManager

Namespace
ICSharpCode.Decompiler.Util
Assembly
ICSharpCode.Decompiler.dll

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.

public static class BusyManager
Inheritance
BusyManager
Inherited Members

Methods

Enter(object?)

public static BusyManager.BusyLock Enter(object? obj)

Parameters

obj object

Returns

BusyManager.BusyLock