Changeset 25645 in vbox for trunk/include/iprt/cache.h
- Timestamp:
- Jan 5, 2010 9:29:31 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cache.h
r20374 r25645 104 104 * 105 105 * @returns iprt status code. 106 * @param pp ObjCacheWhere to store the pointer to the created cache.107 * @param cElements Number of elements the cache can hold.108 * 0 if unlimited size.109 * @param cbElement Size of one element in bytes110 * @param fProt Protection flags for protecting cache against concurrent access111 * from different threads.112 * RTOBJCACHE_PROTECT_REQUEST to protect the request function.113 * RTOBJCACHE_PROTECT_INSERT to protect the insert function.106 * @param ppCache Where to store the pointer to the created cache. 107 * @param cElements Number of elements the cache can hold. 108 * 0 if unlimited size. 109 * @param cbElement Size of one element in bytes 110 * @param fProt Protection flags for protecting cache against 111 * concurrent access from different threads. 112 * RTOBJCACHE_PROTECT_REQUEST to protect the request function. 113 * RTOBJCACHE_PROTECT_INSERT to protect the insert function. 114 114 */ 115 115 RTDECL(int) RTCacheCreate(PRTOBJCACHE *ppCache, uint32_t cElements, size_t cbElement, uint32_t fProt);
Note:
See TracChangeset
for help on using the changeset viewer.