As far as I know, slim versions of synchronization primitives use spin waits before using resources of the kernel.
Is it true that ManualResetEventSlim
with spinCount
= 0 is the same as the usual ManualResetEvent
?
new ManualResetEventSlim(initialState: false, spinCount: 0);
If no, what is the essential difference between them? Do we have any benefits of using the slim-version without spin waits?