just the wait+change no longer works for some reason? switched to wake, somehow better performance
This commit is contained in:
parent
c53efc58a3
commit
c91a2a4a0b
1 changed files with 1 additions and 0 deletions
|
@ -89,6 +89,7 @@ pub const ThreadManager = struct {
|
|||
pub fn unblock(self: *Self) void {
|
||||
self.signals.eof_block.store(0, .Release);
|
||||
self.signals.processed.store(0, .Release);
|
||||
std.Thread.Futex.wake(&self.signals.eof_block, @truncate(self.threads.items.len));
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue