Runtime.UseAutoreleasePoolInThreadPool Property

Definition

A value that specifies whether the Mono runtime should automatically create an NSAutoreleasePool for every work items on the threadpool.

public static bool UseAutoreleasePoolInThreadPool { get; set; }
member this.UseAutoreleasePoolInThreadPool : bool with get, set

Property Value

Remarks

This is enabled by default, but since creating an NSAutoreleasePool adds overhead for every work item, it's possible to disable it for apps that find this overhead unacceptable.

Applies to