Header menu logo fantomas

LockAutoOpens Module

Functions and values

Function or value Description

AnyCallerThread

Full Usage: AnyCallerThread

Returns: AnyCallerThreadToken
Returns: AnyCallerThreadToken

AssumeCompilationThreadWithoutEvidence ()

Full Usage: AssumeCompilationThreadWithoutEvidence ()

Parameters:
    () : unit

Returns: CompilationThreadToken

Represents a place in the compiler codebase where we assume we are executing on a compilation thread

() : unit
Returns: CompilationThreadToken

AssumeLockWithoutEvidence ()

Full Usage: AssumeLockWithoutEvidence ()

Parameters:
    () : unit

Returns: 'a
() : unit
Returns: 'a

DoesNotRequireCompilerThreadTokenAndCouldPossiblyBeMadeConcurrent _ctok

Full Usage: DoesNotRequireCompilerThreadTokenAndCouldPossiblyBeMadeConcurrent _ctok

Parameters:

Represents a place in the compiler codebase where we are passed a CompilationThreadToken unnecessarily. This represents code that may potentially not need to be executed on the compilation thread.

_ctok : CompilationThreadToken

RequireCompilationThread _ctok

Full Usage: RequireCompilationThread _ctok

Parameters:

Represents a place where we are stating that execution on the compilation thread is required. The reason why will be documented in a comment in the code at the callsite.

_ctok : CompilationThreadToken

Type something to start searching.