VirtualBox

Changeset 10708 in vbox


Ignore:
Timestamp:
Jul 16, 2008 7:15:39 PM (16 years ago)
Author:
vboxsync
Message:

Runtime: add cache implementation

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/err.h

    r9930 r10708  
    930930/** @} */
    931931
     932/** @name RTCache status codes
     933 * @{ */
     934/** RTCache: cache is full. */
     935#define VERR_CACHE_FULL                         (-850)
     936/** RTCache: cache is empty. */
     937#define VERR_CACHE_EMPTY                        (-851)
     938/** @} */
     939
    932940/* SED-END */
    933941
  • trunk/src/VBox/Runtime/Makefile.kmk

    r10614 r10708  
    182182        common/log/logformat.cpp \
    183183        common/misc/assert.cpp \
     184        common/misc/cache.cpp \
    184185        common/misc/cidr.cpp \
    185186        common/misc/getopt.cpp \
  • trunk/src/VBox/Runtime/include/internal/magics.h

    r8245 r10708  
    7373/** Magic number for timer handles. (Jared Mason Diamond) */
    7474#define RTTIMER_MAGIC               0x19370910
     75/** Magic number for cache object headers. (Joseph Weizenbaum) */
     76#define RTOBJCACHE_MAGIC            0x19230108
    7577
    7678/** @} */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette