feat: implement multi-threaded JobScheduler with worker threads and dependency management
This commit is contained in:
@@ -61,6 +61,7 @@ public class SPMCQueue<T>
|
||||
|
||||
if (Interlocked.CompareExchange(ref _head, head + 1, head) == head)
|
||||
{
|
||||
Volatile.Write(ref _tail, head + 1);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user