DragonFly commits List (threaded) for 2008-11
DragonFly BSD
DragonFly commits List (threaded) for 2008-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/kern lwkt_msgport.c src/sys/sys msgport.h msgport2.h


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 9 Nov 2008 01:20:09 -0800 (PST)

sephe       2008/11/09 01:20:09 PST

DragonFly src repository

  Modified files:
    sys/kern             lwkt_msgport.c 
    sys/sys              msgport.h msgport2.h 
  Log:
  - Add priority message queue to msgport.  Send a message with MSGF_PRIORITY
    flag will queue the message into the priority message queue of the target
    port.  The priority message queue takes precendence over normal message
    queue, so the messages with MSGF_PRIORITY flag will be processed before
    other messages on the same target port.  This could be used by defering
    callout or operation that should not be delayed too long on the target
    port.
  - Add dropmsg function to msgport.  Message must be marked with MSGF_DROPABLE,
    else dropmsg operation is not allowed.  Message marked with MSGF_DROPABLE
    is not waitable, i.e. you could not call domsg on this kind of message.
    Currently only thread msgport supports this operation and this operation
    must be performed in the same thread of the msgport's owner thread.
  
  Discussed-with: dillon@
  
  Revision  Changes    Path
  1.52      +88 -18    src/sys/kern/lwkt_msgport.c
  1.30      +4 -0      src/sys/sys/msgport.h
  1.17      +12 -0     src/sys/sys/msgport2.h


http://www.dragonflybsd.org/cvsweb/src/sys/kern/lwkt_msgport.c.diff?r1=1.51&r2=1.52&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/msgport.h.diff?r1=1.29&r2=1.30&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/msgport2.h.diff?r1=1.16&r2=1.17&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]