When executing a threaded/1 call, use the message queue of the calling thread for collecting individual thread results instead of creating a new message queue. In addition, join individual threads as soon as they return their results, freeing resources. Individual thread cancellation is still buggy, at least when using SWI-Prolog on MacOS X 10.5.
When executing a threaded/1 call, use the message queue of the calling thread for collecting individual thread results instead of creating a new message queue. In addition, join individual threads as soon as they return their results, freeing resources. Individual thread cancellation is still buggy, at least when using SWI-Prolog on MacOS X 10.5.

git-svn-id: 4c7b768bc2e2a56aa1c56b1b5a9454ba68342430@4126 ac9c905b-388a-4ddf-9b6a-4063a022bc57

LogtalkDotOrg/logtalk2,LogtalkDotOrg/logtalk2,LogtalkDotOrg/logtalk2,LogtalkDotOrg/logtalk2,LogtalkDotOrg/logtalk2