DragonFly kernel List (threaded) for 2005-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: sema replacement
:
:It looks like the code queues up a request and then uses sema_wait() to
:sleep until the request either completes or fails. In both cases, the
:code calls sema_post(). Maybe this is a better fit for messaging - i.e.
:sema_wait would map to lwkt_waitport() and sema_post would map to
:lwkt_sendmsg()?
:
:--
:Chuck Tuffli
:Agilent Technologies
That might require changing the whole request infrastructure to be
LWKT message based, which you might not want to do.
-Matt
Matthew Dillon
<dillon@xxxxxxxxxxxxx>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]