Skip to content

Commit

Permalink
reorganize package
Browse files Browse the repository at this point in the history
  • Loading branch information
taylormcd committed Oct 22, 2021
1 parent 0114ea3 commit 544e716
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 35 deletions.
12 changes: 0 additions & 12 deletions examples/double_it.m

This file was deleted.

File renamed without changes.
6 changes: 3 additions & 3 deletions test/interruption_test.m → examples/interruption_test.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ function interruption_test()
jleval println("Hit Ctrl-C to stop me!")

% this one causes crashes (sometimes?)
jleval 'x = 0; while(true); x += 1; if x%10000 == 0; println(x); end; yield(); end'
jleval 'x = 0; while(true); global x += 1; if x%10000 == 0; println(x); end; yield(); end'


% this one doesn't cause any problems
% jleval 'x = 0; while(true); x += 1; yield(); end'
% jleval 'x = 0; while(true); global x += 1; yield(); end'

% this one isn't interruptable, as it never yields
% jleval 'x = 0; while(true); x += 1; end'
% jleval 'x = 0; while(true); global x += 1; end'


end
File renamed without changes.
File renamed without changes.
File renamed without changes.
20 changes: 0 additions & 20 deletions test/runtests.m

This file was deleted.

0 comments on commit 544e716

Please sign in to comment.