VirtualBox

Changeset 11555

Show
Ignore:
Timestamp:
08/21/08 23:35:23 (3 months ago)
Author:
vboxsync
Message:

Runtime: little threadsafe fifo implementation for passing things to other threads.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/include/iprt/err.h

    r10768 r11555  
    940940/** @} */ 
    941941 
     942/** @name RTFifo status code 
     943 * @{ */ 
     944/** RTFifo: Returned when destroy function is called 
     945 *          and the Fifo is not empty. 
     946 */ 
     947#define VERR_FIFO_NOT_EMPTY                     (-875) 
     948/** RTFifo: fifo is full. */ 
     949#define VERR_FIFO_FULL                          (-876) 
     950/** RTFifo: fifo is empty. */ 
     951#define VERR_FIFO_EMPTY                         (-877) 
     952/** @} */ 
     953 
    942954/* SED-END */ 
    943955 
  • trunk/src/VBox/Runtime/Makefile.kmk

    r11523 r11555  
    185185        common/misc/cache.cpp \ 
    186186        common/misc/cidr.cpp \ 
     187        common/misc/fifo.cpp \ 
    187188        common/misc/getopt.cpp \ 
    188189        common/misc/handletable.cpp \ 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy