std.Thread: more cleanup & testing

This commit is contained in:
kprotty
2021-06-28 11:27:23 -05:00
parent 7b323f84ca
commit f0fa129e9b
5 changed files with 184 additions and 146 deletions

View File

@@ -407,7 +407,7 @@ test "Futex - wait/wake" {
test "Futex - Signal" {
if (single_threaded) {
return;
return error.SkipZigTest;
}
const Paddle = struct {
@@ -449,7 +449,7 @@ test "Futex - Signal" {
test "Futex - Broadcast" {
if (single_threaded) {
return;
return error.SkipZigTest;
}
const Context = struct {
@@ -506,7 +506,7 @@ test "Futex - Broadcast" {
test "Futex - Chain" {
if (single_threaded) {
return;
return error.SkipZigTest;
}
const Signal = struct {