UnityMainThreadDispatcher icon indicating copy to clipboard operation
UnityMainThreadDispatcher copied to clipboard

Use SemaphoreSlim instead of lock()

Open nvandamme opened this issue 4 years ago • 0 comments

To enhance performances, avoid classic lock and use a SemaphoreSlim(1,1) light lock.

nvandamme avatar Apr 26 '21 20:04 nvandamme