Nuno Antunes | 8 Jul 2012 15:12
Picon

Question about lwkt_domsg()

Hi,

lwkt_domsg() comment reads like this,

/*
 * lwkt_domsg()
 *
 *      Request asynchronous completion and call lwkt_beginmsg().  The
 *      target port can opt to execute the message synchronously or
 *      asynchronously and this function will automatically queue the
 *      response if the target executes the message synchronously.
 */

However, in the function body, the sync flag is set:
[...]
    msg->ms_flags |= MSGF_SYNC;
[...]

Should the comment read instead "Request synchronous completion [...]" ?

Thanks
Nuno

Matthew Dillon | 10 Jul 2012 06:37

Re: Question about lwkt_domsg()

:Hi,
:
:lwkt_domsg() comment reads like this,
:
:...
:Should the comment read instead "Request synchronous completion [...]" ?
:
:Thanks
:Nuno

    Yes, the comment is wrong.

					-Matt
					Matthew Dillon 
					<dillon <at> backplane.com>


Gmane