Test output for concurrent-native-callbacks [ok]

Testing time: 15s

'/usr/home/chicken/salmonella/build/salmonella-run-publish/chicken/bin/csi' -script run.scm < /dev/null 2>&1
make: making test1
make: making test2
make: made test1
make: made test2
dispatching...
starting spin ...
________creating threads ...
foo done.
foo: 42
____bar(0): 43 -> 1849
bar done: 1849
voidresult(0)
___________done.
dispatching...
starting spin ...
________creating 10 threads ...
thread 0 waiting...
thread 2 waiting...
thread 4 waiting...
thread 1 waiting...
thread 6 waiting...
thread 3 waiting...
thread 5 waiting...
thread 7 waiting...
thread 8 waiting...
thread 9 waiting...
starting threads ...
thread 9 running ...
thread 8 running ...
thread 7 running ...
thread 3 running ...
thread 5 running ...
thread 1 running ...
thread 6 running ...
thread 0 running ...
thread 4 running ...
waiting for thread 0 ...
thread 2 running ...
_thread 0 calling (1) ...
thread 1 calling (2) ...
thread 3 calling (4) ...
thread 6 calling (7) ...
thread 5 calling (6) ...
thread 8 calling (9) ...
bar(0): 1 -> 1
thread 7 calling (8) ...
thread 2 calling (3) ...
thread 4 calling (5) ...
thread 9 calling (10) ...
bar(1): 2 -> 4
bar(3): 4 -> 16
thread 0 call returned: 1
thread 1 call returned: 4
bar(6): 7 -> 49
thread 3 call returned: 16
thread 6 call returned: 49
bar(5): 6 -> 36
thread 5 call returned: 36
bar(8): 9 -> 81
bar(7): 8 -> 64
bar(2): 3 -> 9
thread 7 call returned: 64
thread 2 call returned: 9
thread 8 call returned: 81
bar(4): 5 -> 25
thread 4 call returned: 25
bar(9): 10 -> 100
thread 9 call returned: 100
_thread 9 calling (11) ...
thread 4 calling (6) ...
thread 2 calling (4) ...
bar(9thread 7 calling (9) ...
): 11 -> 121
thread 5 calling (7) ...
thread 8 calling (10) ...
thread 0 calling (2) ...
thread 6 calling (8) ...
thread 9 call returned: 121
thread 3 calling (5) ...
thread 1 calling (3) ...
bar(4): 6 -> 36
thread 4 call returned: 36
bar(2): 4 -> 16
thread 2 call returned: 16
bar(7): 9 -> 81
thread 7 call returned: 81
bar(5): 7 -> 49
thread 5 call returned: 49
bar(8): 10 -> 100
thread 8 call returned: 100
bar(0): 2 -> 4
thread 0 call returned: 4
bar(6): 8 -> 64
thread 6 call returned: 64
bar(3): 5 -> 25
thread 3 call returned: 25
bar(1): 3 -> 9
thread 1 call returned: 9
_thread 9 calling (12) ...
thread 6 calling (9) ...
thread 1 calling (4) ...
thread 8 calling (11) ...
thread 3 calling (6) ...
thread 7 calling (10) ...
thread 0 calling (3) ...
thread 5 calling (8) ...
thread 2 calling (5) ...
thread 4 calling (7) ...
bar(9): 12 -> 144
thread 9 call returned: 144
bar(0): 3 -> 9
thread 0 call returned: 9
bar(4): 7 -> 49
thread 4 call returned: 49
bar(7): 10 -> 100
thread 7 call returned: 100
bar(6): 9 -> 81
thread 6 call returned: 81
bar(5): 8 -> 64
thread 5 call returned: 64
bar(8): 11 -> 121
thread 8 call returned: 121
bar(1): 4 -> 16
thread 1 call returned: 16
bar(2): 5 -> 25
thread 2 call returned: 25
bar(3): 6 -> 36
thread 3 call returned: 36
_thread 2 calling (6) ...
thread 8 calling (12) ...
thread 3 calling (7) ...
thread 6 calling (10) ...
thread 1 calling (5) ...
thread 4 calling (8) ...
thread 5 calling (9) ...
thread 7 calling (11) ...
thread 0 calling (4) ...
thread 9 calling (13) ...
bar(2): 6 -> 36
thread 2 call returned: 36
bar(5): 9 -> 81
thread 5 call returned: 81
bar(9): 13 -> 169
thread 9 call returned: 169
bar(8): 12 -> 144
thread 8 call returned: 144
bar(6): 10 -> 100
thread 6 call returned: 100
bar(4): 8 -> 64
thread 4 call returned: 64
bar(7): 11 -> 121
thread 7 call returned: 121
bar(0): 4 -> 16
thread 0 call returned: 16
bar(1): 5 -> 25
thread 1 call returned: 25
bar(3): 7 -> 49
thread 3 call returned: 49
_thread 3 calling (8) ...
thread 0 calling (5) ...
thread 4 calling (9) ...
thread 8 calling (13) ...
thread 1 calling (6) ...
thread 7 calling (12) ...
thread 6 calling (11) ...
thread 5 calling (10) ...
thread 9 calling (14) ...
thread 2 calling (7) ...
bar(3): 8 -> 64
thread 3 call returned: 64
bar(1): 6 -> 36
thread 1 call returned: 36
bar(2): 7 -> 49
thread 2 call returned: 49
bar(7): 12 -> 144
thread 7 call returned: 144
bar(4): 9 -> 81
thread 4 call returned: 81
bar(9): 14 -> 196
thread 9 call returned: 196
bar(5): 10 -> 100
thread 5 call returned: 100
bar(0): 5 -> 25
thread 0 call returned: 25
bar(8): 13 -> 169
thread 8 call returned: 169
bar(6): 11 -> 121
thread 6 call returned: 121
_thread 8 calling (14) ...
thread 0 calling (6) ...
thread 6 calling (12) ...
_thread 5 calling (11) ...
thread 4 calling (10) ...
thread 9 calling (15) ...
thread 7 calling (13) ...
thread 2 calling (8) ...
thread 1 calling (7) ...
thread 3 calling (9) ...
bar(8): 14 -> 196
thread 8 call returned: 196
bar(0): 6 -> 36
thread 0 call returned: 36
bar(6): 12 -> 144
thread 6 call returned: 144
bar(5): 11 -> 121
thread 5 call returned: 121
bar(4): 10 -> 100
thread 4 call returned: 100
bar(9): 15 -> 225
thread 9 call returned: 225
bar(7): 13 -> 169
thread 7 call returned: 169
bar(2): 8 -> 64
thread 2 call returned: 64
bar(1): 7 -> 49
thread 1 call returned: 49
bar(3): 9 -> 81
thread 3 call returned: 81
_thread 3 calling (10) ...
thread 7 calling (14) ...
thread 4 calling (11) ...
thread 5 calling (12) ...
bar(3): 10 -> 100
thread 1 calling (8) ...
thread 0 calling (7) ...
thread 2 calling (9) ...
thread 8 calling (15) ...
thread 9 calling (16) ...
thread 6 calling (13) ...
thread 3 call returned: 100
bar(1): 8 -> 64
thread 1 call returned: 64
bar(2): 9 -> 81
thread 2 call returned: 81
bar(0): 7 -> 49
thread 0 call returned: 49
bar(7): 14 -> 196
thread 7 call returned: 196
bar(8): 15 -> 225
thread 8 call returned: 225
bar(5): 12 -> 144
thread 5 call returned: 144
bar(4): 11 -> 121
thread 4 call returned: 121
bar(9): 16 -> 256
thread 9 call returned: 256
bar(6): 13 -> 169
thread 6 call returned: 169
_thread 2 calling (10) ...
thread 9 calling (17) ...
thread 5 calling (13) ...
thread 7 calling (15) ...
thread 3 calling (11) ...
thread 0 calling (8) ...
thread 6 calling (14) ...
thread 4 calling (12) ...
bar(2): 10 -> 100
thread 8 calling (16) ...
thread 1 calling (9) ...
thread 2 call returned: 100
bar(5): 13 -> 169
thread 5 call returned: 169
bar(7): 15 -> 225
thread 7 call returned: 225
bar(3): 11 -> 121
thread 3 call returned: 121
bar(0): 8 -> 64
thread 0 call returned: 64
bar(6): 14 -> 196
thread 6 call returned: 196
bar(4): 12 -> 144
thread 4 call returned: 144
bar(9): 17 -> 289
thread 9 call returned: 289
bar(8): 16 -> 256
thread 8 call returned: 256
bar(1): 9 -> 81
thread 1 call returned: 81
_thread 7 calling (16) ...
thread 5 calling (14) ...
thread 8 calling (17) ...
thread 4 calling (13) ...
thread 1 calling (10) ...
thread 6 calling (15) ...
thread 9 calling (18) ...
thread 0 calling (9) ...
thread 3 calling (12) ...
thread 2 calling (11) ...
bar(7): 16 -> 256
thread 7 call returned: 256
bar(1): 10 -> 100
thread 1 call returned: 100
bar(6): 15 -> 225
thread 6 call returned: 225
bar(8): 17 -> 289
thread 8 call returned: 289
bar(0): 9 -> 81
thread 0 call returned: 81
bar(3): 12 -> 144
thread 3 call returned: 144
bar(5): 14 -> 196
thread 5 call returned: 196
bar(4): 13 -> 169
thread 4 call returned: 169
bar(9): 18 -> 324
thread 9 call returned: 324
bar(2): 11 -> 121
thread 2 call returned: 121
_thread 9 calling (19) ...
thread 4 calling (14) ...
thread 2 calling (12) ...
thread 5 calling (15) ...
thread 3 calling (13) ...
thread 0 calling (10) ...
thread 8 calling (18) ...
thread 6 calling (16) ...
thread 7 calling (17) ...
thread 1 calling (11) ...
bar(9): 19 -> 361
thread 9 call returned: 361
thread 9 done.
bar(2): 12 -> 144
thread 2 call returned: 144
thread 2 done.
bar(5): 15 -> 225
thread 5 call returned: 225
thread 5 done.
bar(4): 14 -> 196
thread 4 call returned: 196
thread 4 done.
bar(0): 10 -> 100
thread 0 call returned: 100
thread 0 done.
bar(6): 16 -> 256
thread 6 call returned: 256
thread 6 done.
bar(1): 11 -> 121
thread 1 call returned: 121
thread 1 done.
bar(3): 13 -> 169
thread 3 call returned: 169
thread 3 done.
bar(8): 18 -> 324
thread 8 call returned: 324
thread 8 done.
bar(7): 17 -> 289
thread 7 call returned: 289
thread 7 done.
waiting for thread 1 ...
waiting for thread 2 ...
waiting for thread 3 ...
waiting for thread 4 ...
waiting for thread 5 ...
waiting for thread 6 ...
waiting for thread 7 ...
waiting for thread 8 ...
waiting for thread 9 ...
done.