Changeset 10788 in vbox for trunk/include
- Timestamp:
- Jul 21, 2008 4:44:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/handletable.h
r10768 r10788 98 98 * If not specfied the caller will have to take care of that. */ 99 99 #define RTHANDLETABLE_FLAGS_LOCKED RT_BIT_32(1) 100 /** The mask of valid flags. */ 101 #define RTHANDLETABLE_FLAGS_MASK UINT32_C(0x00000003) 100 102 /* @} */ 101 103 … … 116 118 * first handle to be returned. 117 119 * @param cMax The max number of handles. When exceeded the RTHandleTableAlloc 118 * or RTHandleTableAllocWithCtx calls will fail. 120 * or RTHandleTableAllocWithCtx calls will fail. Note that this 121 * number will be rounded up to a multiple of the sub-table size, 122 * or if it's too close to UINT32_MAX it will be rounded down. 119 123 * @param pfnRetain Optional retain callback that will be called from behind the 120 124 * lock (if any) during lookup. … … 127 131 * A simplified version of the RTHandleTableCreateEx API. 128 132 * 129 * It assumes a max of 65534handles with 1 being the base. The table130 * serialized (RTHANDLETABLE_FLAGS_LOCKED).133 * It assumes a max of about 64K handles with 1 being the base. The table 134 * access will serialized (RTHANDLETABLE_FLAGS_LOCKED). 131 135 * 132 136 * @returns IPRT status code and *phHandleTable.
Note:
See TracChangeset
for help on using the changeset viewer.