Skip to content

Commit

Permalink
std.Thread: empty/error tests for sync primitives
Browse files Browse the repository at this point in the history
  • Loading branch information
kprotty committed Jun 16, 2021
1 parent 9f19271 commit 7380d83
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/std/Thread/Condvar.zig
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,6 @@ const CondvarImpl = struct {
}
};

test "Condvar" {
return error.TODO;
}
3 changes: 3 additions & 0 deletions lib/std/Thread/Mutex.zig
Original file line number Diff line number Diff line change
Expand Up @@ -225,3 +225,6 @@ const MutexImpl = struct {
}
};

test "Mutex" {
return error.TODO;
}
3 changes: 3 additions & 0 deletions lib/std/Thread/RwLock.zig
Original file line number Diff line number Diff line change
Expand Up @@ -274,3 +274,6 @@ const RwLockImpl = struct {
}
};

test "RwLock" {
return error.TODO;
}
3 changes: 3 additions & 0 deletions lib/std/Thread/Semaphore.zig
Original file line number Diff line number Diff line change
Expand Up @@ -212,3 +212,6 @@ const SemaphoreImpl = struct {
}
};

test "Semaphore" {
return error.TODO;
}

0 comments on commit 7380d83

Please sign in to comment.