[erlang-patches] Optimise io requests for long message queues

Magnus Henoch magnus@REDACTED
Fri Sep 19 20:11:58 CEST 2014


Henrik Nord <henrik@REDACTED> writes:

> we would like a test case which ensures that the optimization is not 
> broken: An example of such test can be found in 
> gen_server_SUITE:call_with_huge_message_queue
>
> The documentation needs a minor fix in the part that talks about "a more 
> complicated client" - maybe something similar to this:
>
> "The io module monitors the I/O server, and uses the monitor reference 
> as the ReplyAs datum. A more complicated client could have several 
> outstanding I/O requests to the same I/O server and would then use 
> different references (or something else) to differentiate among the 
> incoming IO replies."
>
> When you have addressed the issues above could you also create a 
> pull-request for this?

I added a test, and updated the documentation.  The pull request can be
found here:

https://github.com/erlang/otp/pull/478

Regards,
Magnus



More information about the erlang-patches mailing list