Question about lwkt_domsg()
Nuno Antunes <[email protected]>
| Newsgroups | gmane.os.dragonfly-bsd.kernel |
|---|---|
| Message-ID | <CAHZXW-kJgXn1a89E_K6+Z44jkaj9kkOr7BbyNdAy61U2bffYqg@mail.gmail.com> |
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