Re: sema replacement

看板DFBSD_kernel作者時間21年前 (2005/02/13 04:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/4 (看更多)
: :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@backplane.com>
文章代碼(AID): #123cV700 (DFBSD_kernel)
文章代碼(AID): #123cV700 (DFBSD_kernel)