[erlang-patches] Fixes messages handling in percept_db

Ahmed Omar spawn.think@REDACTED
Mon Jun 6 10:44:56 CEST 2011


Fixes some issues with messages in percept_db

commit 3e8fe28afaf2d78d33dc

Added demonitor to avoid keeping DOWN message in the queue. Also fixed
a wrong spec in do_start/0.


commit 5ba7bf2acdf59cf36dd6:


Fixes message handling in select requests.

percept_db used to send results in an untagged messages, and use a non
selective receive to extract them. When percept is used from the shell
process, this can confuse other messages with the actual result. Added
a tag to the message to be {result, Result}.



git fetch git://github.com/spawnthink/otp.git fix_percept_msgs

-- 
Best Regards,
- Ahmed Omar
http://nl.linkedin.com/in/adiaa
Follow me on twitter
@spawn_think <http://twitter.com/#!/spawn_think>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20110606/c46ea266/attachment.htm>


More information about the erlang-patches mailing list