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.255-beta+d64b121002b51165b41b0dbf6ccf4c8d3895faa3
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