unnecessary disable_interrupts (#69)
This commit is contained in:
parent
3d9bd1a49f
commit
e6129e84b7
@ -63,11 +63,9 @@ run_goal(Goal, Result0) :-
|
||||
).
|
||||
|
||||
run_goal(_, _) :-
|
||||
yap_hacks:disable_interrupts,
|
||||
% make sure we're not getting an extraneous interrupt if we terminate early....
|
||||
alarm(0,_,_),
|
||||
fail.
|
||||
|
||||
complete_time_out :-
|
||||
alarm(0,_,_),
|
||||
yap_hacks:enable_interrupts.
|
||||
alarm(0,_,_).
|
||||
|
Reference in New Issue
Block a user