15 lines
274 B
Markdown
15 lines
274 B
Markdown
|
MfGames.Locking CIL
|
||
|
===================
|
||
|
|
||
|
This a small collection of classes that provide some simplification while working with locking in C# applications.
|
||
|
|
||
|
```
|
||
|
//using MfGames.Locking;
|
||
|
|
||
|
ReaderWriterLockSlim locker;
|
||
|
|
||
|
using (new ReadLock(locker))
|
||
|
{
|
||
|
// Do something.
|
||
|
}
|
||
|
```
|