Added documentation on the new thread_create/2 predicate.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1774 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
e75e406f84
commit
b9b1e9bb96
@ -10412,6 +10412,13 @@ This implies further instantiation of this term in either thread does
|
||||
not have consequences for the other thread: Prolog threads do not share
|
||||
data from their stacks.
|
||||
|
||||
@item thread_create(:@var{Goal}, -@var{Id})
|
||||
@findex thread_create/2
|
||||
@snindex thread_create/2
|
||||
@cnindex thread_create/2
|
||||
|
||||
Create a new Prolog thread using default options. See @code{thread_create/3}.
|
||||
|
||||
@item thread_self(-@var{Id})
|
||||
@findex thread_self/1
|
||||
@snindex thread_self/1
|
||||
|
Reference in New Issue
Block a user