Click or drag to resize

InterprocessReaderWriterLock(String, Int32) Constructor

Creates a new instance of the InterprocessReaderWriterLock associated with the specified name that identifies a source object needing concurrency locking.

Namespace: GSF.Threading
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public InterprocessReaderWriterLock(
	string name,
	int maximumConcurrentLocks
)
View Source

Parameters

name  String
Identifying name of source object needing concurrency locking (e.g., a path and file name).
maximumConcurrentLocks  Int32
Maximum concurrent reader locks to allow.
Remarks
If more reader locks are requested than the maximumConcurrentLocks, excess reader locks will simply wait until a lock is available (i.e., one of the existing reads completes).
See Also