YieldCPU Property

Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

C#
Visual Basic
Visual C++

Berkeley DB .NET API Documentation
DatabaseEnvironment..::.YieldCPU Property
DatabaseEnvironment Class See Also

If true, Berkeley DB will yield the processor immediately after each page or mutex acquisition.

Namespace: BerkeleyDB
Assembly: libdb_dotnet48 (in libdb_dotnet48.dll) Version: 4.8.24.0

# Syntax

C#
    public bool YieldCPU { get; set; }

Visual Basic (Declaration)
    Public Property YieldCPU As Boolean

Visual C++
    public:
    property bool YieldCPU {
    	bool get ();
    	void set (bool value);
    }

# Remarks

This functionality should never be used for purposes other than stress testing.

# See Also

DatabaseEnvironment Class
BerkeleyDB Namespace