Changeset 4456 for trunk/compiler
- Timestamp:
- 08/30/08 07:05:02 (4 months ago)
- Files:
-
- 1 modified
-
trunk/compiler/logtalk.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/compiler/logtalk.pl
r4453 r4456 13220 13220 13221 13221 '$lgt_mt_dispatch_goal'(once, Queue, Goal, This, Self, Tag) :- 13222 thread_create('$lgt_mt_det_goal'(Queue, Goal, This, Self, Tag), _, [detached( true)]),13222 thread_create('$lgt_mt_det_goal'(Queue, Goal, This, Self, Tag), _, [detached(false)]), 13223 13223 % wait until the thread created for proving the goal is ready before proceeding: 13224 13224 thread_get_message(Queue, '$lgt_det_ready'(Goal, This, Self, Tag)). … … 13265 13265 thread_get_message(Queue, '$lgt_thread_id'(Type, Goal, This, Self, Tag, Id)), 13266 13266 ( Type == once -> 13267 '$lgt_mt_det_reply'(Queue, Goal, This, Self, Tag, Id) % detached thread 13267 '$lgt_mt_det_reply'(Queue, Goal, This, Self, Tag, Id), 13268 thread_join(Id, _) 13268 13269 ; call_cleanup( 13269 13270 '$lgt_mt_non_det_reply'(Queue, Goal, This, Self, Tag, Id),
