BlockingTryEnter Method |
Name | Description | |
---|---|---|
![]() ![]() | TryEnter(Object, Int32) |
Attempts, for the specified number of milliseconds, to acquire an exclusive
lock on the specified object while still respecting the calling
thread's ThreadTimeout |
![]() ![]() | TryEnter(Object, TimeSpan) |
Attempts, for the specified amount of time, to acquire an exclusive
lock on the specified object while still respecting the calling
thread's ThreadTimeout |
![]() ![]() | TryEnter(Object, Int32, Boolean) |
Attempts, for the specified amount of time, to acquire an exclusive lock
on the specified object, while still respecting the calling thread's
ThreadTimeout, and atomically sets a value that indicates whether
the lock was taken.
|
![]() ![]() | TryEnter(Object, TimeSpan, Boolean) |
Attempts, for the specified number of milliseconds, to acquire an exclusive lock
on the specified object, while still respecting the calling thread's
ThreadTimeout, and atomically sets a value that indicates whether
the lock was taken.
|