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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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