Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zoffixznet/ccf2b5dd8ed2f389fecbf0c9818da084 to your computer and use it in GitHub Desktop.
Save zoffixznet/ccf2b5dd8ed2f389fecbf0c9818da084 to your computer and use it in GitHub Desktop.
zoffix@VirtualBox:~/CPANPRC/rakudo$ ./perl6-m -Ilib t/spec/S17-lowlevel/lock.t
1..23
ok 1 - Running code under lock
ok 2 - Running another piece of code under lock
ok 3 - code that dies under lock throws
ok 4 - Code that dies in run does release the lock
ok 5 - Even from another thread
ok 6 - Lock is at least somewhat effective
ok 7 - Condition variable worked
ok 8 - Thread 1 never ran after it was tried 100 times
ok 9 - Correct result and no crash in lock/condvar use (1)
ok 10 - Correct result and no crash in lock/condvar use (2)
ok 11 - Correct result and no crash in lock/condvar use (3)
ok 12 - Correct result and no crash in lock/condvar use (4)
ok 13 - Correct result and no crash in lock/condvar use (5)
ok 14 - Correct result and no crash in lock/condvar use (6)
ok 15 - Correct result and no crash in lock/condvar use (7)
ok 16 - Correct result and no crash in lock/condvar use (8)
ok 17 - Correct result and no crash in lock/condvar use (9)
ok 18 - Correct result and no crash in lock/condvar use (10)
ok 19 - Correct result and no crash in lock/condvar use (11)
ok 20 - Correct result and no crash in lock/condvar use (12)
ok 21 - Correct result and no crash in lock/condvar use (13)
ok 22 - Correct result and no crash in lock/condvar use (14)
ok 23 - Correct result and no crash in lock/condvar use (15)
zoffix@VirtualBox:~/CPANPRC/rakudo$ ./perl6-m -Ilib t/spec/S17-lowlevel/lock.t
1..23
ok 1 - Running code under lock
ok 2 - Running another piece of code under lock
ok 3 - code that dies under lock throws
ok 4 - Code that dies in run does release the lock
ok 5 - Even from another thread
ok 6 - Lock is at least somewhat effective
ok 7 - Condition variable worked
ok 8 - Thread 1 never ran after it was tried 100 times
ok 9 - Correct result and no crash in lock/condvar use (1)
ok 10 - Correct result and no crash in lock/condvar use (2)
ok 11 - Correct result and no crash in lock/condvar use (3)
ok 12 - Correct result and no crash in lock/condvar use (4)
ok 13 - Correct result and no crash in lock/condvar use (5)
ok 14 - Correct result and no crash in lock/condvar use (6)
ok 15 - Correct result and no crash in lock/condvar use (7)
ok 16 - Correct result and no crash in lock/condvar use (8)
ok 17 - Correct result and no crash in lock/condvar use (9)
ok 18 - Correct result and no crash in lock/condvar use (10)
ok 19 - Correct result and no crash in lock/condvar use (11)
ok 20 - Correct result and no crash in lock/condvar use (12)
ok 21 - Correct result and no crash in lock/condvar use (13)
ok 22 - Correct result and no crash in lock/condvar use (14)
ok 23 - Correct result and no crash in lock/condvar use (15)
zoffix@VirtualBox:~/CPANPRC/rakudo$ ./perl6-m -Ilib t/spec/S17-lowlevel/lock.t
1..23
ok 1 - Running code under lock
ok 2 - Running another piece of code under lock
ok 3 - code that dies under lock throws
ok 4 - Code that dies in run does release the lock
ok 5 - Even from another thread
ok 6 - Lock is at least somewhat effective
ok 7 - Condition variable worked
ok 8 - Thread 1 never ran after it was tried 100 times
ok 9 - Correct result and no crash in lock/condvar use (1)
ok 10 - Correct result and no crash in lock/condvar use (2)
ok 11 - Correct result and no crash in lock/condvar use (3)
ok 12 - Correct result and no crash in lock/condvar use (4)
ok 13 - Correct result and no crash in lock/condvar use (5)
ok 14 - Correct result and no crash in lock/condvar use (6)
Segmentation fault
zoffix@VirtualBox:~/CPANPRC/rakudo$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment