[erlang-questions] Manually remove a message from Process Mailbox

Aggelos Giantsios aggelgian@REDACTED
Fri Jan 4 20:22:45 CET 2013


Happy New Year to everyone!

I am trying to simulate the 'receive' expression behaviour.
I access the process message queue with erlang:process_info(self(),
messages).
Assuming I have selected a message Msg which is at position k in the
message list and have safely stored it in a variable,
is there a way to manually remove Msg from the process message queue?

Thanks,
Aggelos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130104/28d76386/attachment.htm>


More information about the erlang-questions mailing list