Question about lwkt_domsg()

Nuno Antunes nuno.antunes at gmail.com
Sun Jul 8 06:12:33 PDT 2012


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





More information about the Kernel mailing list