The initial number of concurrent threads catered for by the Berkeley DB environment

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet52 (in libdb_dotnet52.dll) Version:


public uint InitThreadCount { get; set; }
Visual Basic (Declaration)
Public Property InitThreadCount As UInteger
Visual C++
property unsigned int InitThreadCount {
	unsigned int get ();
	void set (unsigned int value);


This value is used by Open(String, DatabaseEnvironmentConfig) to force Berkeley DB to allocate a certain number of thread objects when the environment is created. This can be useful if an application uses a large number of thread objects, and experiences performance issues with the default dynamic allocation algorithm.

If the database environment already exists when Open(String, DatabaseEnvironmentConfig) is called, the value of InitLockers will be ignored.

See Also