make sure thread messages go to user_error.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2159 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
c20c0f7767
commit
7d6e7f2613
@ -791,16 +791,16 @@ thread_property(Id, Prop) :-
|
|||||||
|
|
||||||
|
|
||||||
threads :-
|
threads :-
|
||||||
write('------------------------------------------------------------------------'), nl,
|
format(user_error,'------------------------------------------------------------------------~n',[]),
|
||||||
format("~t~a~48+~n", 'Thread Detached Status'),
|
format(user_error, '~t~a~48+~n', 'Thread Detached Status'),
|
||||||
write('------------------------------------------------------------------------'), nl,
|
format(user_error,'------------------------------------------------------------------------~n',[]),
|
||||||
'$thread_property'(Id, detached(Detached)),
|
'$thread_property'(Id, detached(Detached)),
|
||||||
'$thread_property'(Id, status(Status)),
|
'$thread_property'(Id, status(Status)),
|
||||||
'$thread_id_alias'(Id, Alias),
|
'$thread_id_alias'(Id, Alias),
|
||||||
format("~t~q~30+~33|~w~42|~q~n", [Alias, Detached, Status]),
|
format(user_error,'~t~q~30+~33|~w~42|~q~n', [Alias, Detached, Status]),
|
||||||
fail.
|
fail.
|
||||||
threads :-
|
threads :-
|
||||||
write('------------------------------------------------------------------------'), nl.
|
format(user_error,'------------------------------------------------------------------------~n',[]).
|
||||||
|
|
||||||
|
|
||||||
'$check_thread_or_alias'(Term, Goal) :-
|
'$check_thread_or_alias'(Term, Goal) :-
|
||||||
|
Reference in New Issue
Block a user