You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
469 B
27 lines
469 B
#if FAT |
|
|
|
using System; |
|
|
|
namespace LinqInternal.Threading |
|
{ |
|
internal interface IReadWriteLock : IDisposable |
|
{ |
|
bool HasReader { get; } |
|
|
|
bool HasWriter { get; } |
|
|
|
bool IsCurrentThreadReader { get; } |
|
|
|
bool IsCurrentThreadWriter { get; } |
|
|
|
IDisposable EnterRead(); |
|
|
|
IDisposable EnterWrite(); |
|
|
|
bool TryEnterRead(out IDisposable engagement); |
|
|
|
bool TryEnterWrite(out IDisposable engagement); |
|
} |
|
} |
|
|
|
#endif |