Re: Optimise io requests for long message queues
Magnus Henoch <[email protected]> Fri, 19 Sep 2014 19:11:58 +0100
| Newsgroups | gmane.comp.lang.erlang.patches |
|---|---|
| Message-ID | <[email protected]> |
Henrik Nord <[email protected]> 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 _______________________________________________ erlang-patches mailing list [email protected] http://erlang.org/mailman/listinfo/erlang-patches