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 
  - 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
  - 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


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