| ... | @@ -933,8 +933,8 @@ const assert = std.debug.assert; | ... | @@ -933,8 +933,8 @@ const assert = std.debug.assert; |
| 933 | threadlocal var x: i32 = 1234; | 933 | threadlocal var x: i32 = 1234; |
| 934 | | 934 | |
| 935 | test "thread local storage" { | 935 | test "thread local storage" { |
| 936 | const thread1 = try std.Thread.spawn({}, testTls); | 936 | const thread1 = try std.Thread.spawn(testTls, {}); |
| 937 | const thread2 = try std.Thread.spawn({}, testTls); | 937 | const thread2 = try std.Thread.spawn(testTls, {}); |
| 938 | testTls({}); | 938 | testTls({}); |
| 939 | thread1.wait(); | 939 | thread1.wait(); |
| 940 | thread2.wait(); | 940 | thread2.wait(); |