fix(lint): correct reported typos
Zig Project Action / Lint, Spell-check and test zig project (push) Has been cancelled
Zig Project Action / Lint, Spell-check and test zig project (push) Has been cancelled
This commit is contained in:
+2
-2
@@ -222,7 +222,7 @@ pub fn ParallelIter(T: type) type {
|
||||
self.sink = try gpa.alloc(T, self.impl.len());
|
||||
|
||||
if (self.poolSize == 0) {
|
||||
return; // Assume threads are unavailable, complete syncronously
|
||||
return; // Assume threads are unavailable, complete synchronously
|
||||
} else {
|
||||
for (self.pool) |*thread| {
|
||||
thread.* = try std.Thread.spawn(.{}, threadHandle, .{&self});
|
||||
@@ -232,7 +232,7 @@ pub fn ParallelIter(T: type) type {
|
||||
|
||||
pub fn join(self: *Self) []T {
|
||||
if (self.pool.len == 0) {
|
||||
// Assume threads are unavailable, complete syncronously
|
||||
// Assume threads are unavailable, complete synchronously
|
||||
while (true) {
|
||||
self.handle() orelse break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user