Fix built-in predicate threads/0

This commit is contained in:
Paulo Moura 2013-10-10 11:00:36 +01:00
parent f6bc5ab918
commit c412f6de2f
1 changed files with 1 additions and 1 deletions

View File

@ -871,7 +871,7 @@ thread_property(Id, Prop) :-
'$enumerate_threads'(Id) :-
'$max_threads'(Max),
Max1 is Max-1,
'$between'(0,Max1,Id),
between(0,Max1,Id),
'$thread_stacks'(Id, _, _, _).
'$thread_property'(Id, alias(Alias)) :-