Skip to content

Commit 6601c3f

Browse files
committed
fix testcase error when threads already allocated
1 parent db40968 commit 6601c3f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/gstack.ijs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ assert. -. IF64 NB. threads should be supported on all 64-bit systems
121121
end.
122122
if. IF64 do.
123123
assert. (<@i."0 i. 5) -: (i. t. ''"0 i. 5)
124-
assert. 2 = 1 T. ''
125-
while. 2 ~: # 2 T. '' do. end. NB. wait till threads become ready
124+
assert. 2 <: 1 T. ''
125+
while. 2 > # 2 T. '' do. end. NB. wait till threads become ready
126126
assert. 1 2 *./@e. 2 T. ''
127127
assert. 0 1 2 *./@e. > (3&T.@'')@(6!:3) t.'' "(0) 0.1 0.1 0.3
128128
assert. 0 1 2 *./@e. > (3&T.@'')@(6!:3) t.'' "(0) 0.3 0.3 0.1

0 commit comments

Comments
 (0)