git: devfs: Use lwkt_domsg() instead of lwkt_sendmsg() + lwkt_waitport().

Nuno Antunes nant at crater.dragonflybsd.org
Fri Jul 17 23:08:35 PDT 2015


commit 2e05d28308ec39ba929041e19b5ad7709ae761c5
Author: Nuno Antunes <nuno.antunes at gmail.com>
Date:   Sat Aug 4 09:03:23 2012 +0100

    devfs: Use lwkt_domsg() instead of lwkt_sendmsg() + lwkt_waitport().
    
    * lwkt_domsg() already implements the concept of synchronous message
      execution, use it instead.
    
    * The caller of devfs_msg_send_sync() has allocated the message and
      keeps a reference to it, so we don't need to return the reference
      back.  Return the message error instead.

Summary of changes:
 sys/sys/devfs.h            |  2 +-
 sys/vfs/devfs/devfs_core.c | 37 +++++++++++++++++++------------------
 2 files changed, 20 insertions(+), 19 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2e05d28308ec39ba929041e19b5ad7709ae761c5


-- 
DragonFly BSD source repository


More information about the Commits mailing list