Fixed missing argument in recorda/3 call.

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2198 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
pmoura 2008-04-03 01:28:21 +00:00
parent 5d6ddc8026
commit 2462596050

View File

@ -61,8 +61,8 @@
).
% format(user_error,'closing thread ~w~n',[v([Id0|Status])]).
'$close_thread'(Exception, Detached, Id0) :-
( recorded('$thread_exit_status',[Id0|_],R), erase(R), fail
; recorda('$thread_exit_status', [Id0|exception(error(Exception,_))])
( recorded('$thread_exit_status', [Id0|_], R), erase(R), fail
; recorda('$thread_exit_status', [Id0|exception(error(Exception,_))], _)
),
'$run_at_thread_exit'(Id0),
( Detached == true ->