What is most apropriate mutex alg in C#/.NET for this kind of task.
- many reads
- few incremental changes (up to 3 in "go forward" state machine )
- very low collision probability (does collision probability matter?).
I was thinking about simple lock or ReaderWriterLockSlim , but I am not sure which one to choose and if there is something better for this task.
Thanks.