Changeset 4456
- Timestamp:
- 08/30/08 07:05:02 (4 months ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
compiler/logtalk.pl (modified) (2 diffs)
-
RELEASE_NOTES.txt (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), -
trunk/RELEASE_NOTES.txt
r4453 r4456 14 14 15 15 16 2.33.0 - August??, 200816 2.33.0 - September ??, 2008 17 17 18 18 Applied several optimizations to the Logtalk compiler, mostly related to … … 44 44 Removed the Logtalk dispatcher thread used for dispatching asynchronous 45 45 multi-threading calls, simplifying the implementation and improving the 46 performance of the asynchronous built-in multi-threading predicates. 46 performance of the asynchronous built-in multi-threading predicates. 47 48 Corrected a bug in the implementation of the threaded_once/1-2 built-in 49 multi-threading predicates (use of detached threads could make the methods 50 fail despite the success of the thread goals). 47 51 48 52 Improved performance of multi-threading applications (specially on MacOS X)
