Skip to content

Commit

Permalink
Unintended commit reverse.
Browse files Browse the repository at this point in the history
  • Loading branch information
lerno committed Sep 27, 2024
1 parent 7ff645c commit 5df3218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/std/threads/fixed_pool.c3
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ macro void! FixedThreadPool.@shutdown(&self, #stop) @private
*/
fn void! FixedThreadPool.push(&self, ThreadPoolFn func, args...)
{
mu.in_lock()!;
self.mu.lock()!;
defer self.mu.unlock()!!;
if (self.qindex == self.queue.len) return ThreadPoolResult.QUEUE_FULL?;
any[] data;
Expand Down

0 comments on commit 5df3218

Please sign in to comment.