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:
		@@ -791,16 +791,16 @@ thread_property(Id, Prop) :-
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
threads :-
 | 
			
		||||
	write('------------------------------------------------------------------------'), nl,
 | 
			
		||||
	format("~t~a~48+~n", 'Thread  Detached  Status'),
 | 
			
		||||
	write('------------------------------------------------------------------------'), nl,
 | 
			
		||||
	format(user_error,'------------------------------------------------------------------------~n',[]),
 | 
			
		||||
	format(user_error, '~t~a~48+~n', 'Thread  Detached  Status'),
 | 
			
		||||
	format(user_error,'------------------------------------------------------------------------~n',[]),
 | 
			
		||||
	'$thread_property'(Id, detached(Detached)),
 | 
			
		||||
	'$thread_property'(Id, status(Status)),
 | 
			
		||||
	'$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.
 | 
			
		||||
threads :-
 | 
			
		||||
	write('------------------------------------------------------------------------'), nl.
 | 
			
		||||
	format(user_error,'------------------------------------------------------------------------~n',[]).
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
'$check_thread_or_alias'(Term, Goal) :-
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user