mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Unintended commit reverse.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user