Fix built-in predicate threads/0
This commit is contained in:
parent
f6bc5ab918
commit
c412f6de2f
@ -871,7 +871,7 @@ thread_property(Id, Prop) :-
|
|||||||
'$enumerate_threads'(Id) :-
|
'$enumerate_threads'(Id) :-
|
||||||
'$max_threads'(Max),
|
'$max_threads'(Max),
|
||||||
Max1 is Max-1,
|
Max1 is Max-1,
|
||||||
'$between'(0,Max1,Id),
|
between(0,Max1,Id),
|
||||||
'$thread_stacks'(Id, _, _, _).
|
'$thread_stacks'(Id, _, _, _).
|
||||||
|
|
||||||
'$thread_property'(Id, alias(Alias)) :-
|
'$thread_property'(Id, alias(Alias)) :-
|
||||||
|
Reference in New Issue
Block a user