Changeset 25724 in vbox for trunk/include/iprt
- Timestamp:
- Jan 11, 2010 2:45:34 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 56467
- Location:
- trunk/include/iprt
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/file.h
r25645 r25724 1195 1195 * @param cMinReqs The minimum number of requests which have to 1196 1196 * complete before this function returns. 1197 * @param cMilli sTimeoutThe number of milliseconds to wait before returning1198 * VERR_TIMEOUT. Use RT_INDEFINITE_WAIT to wait1197 * @param cMillies The number of milliseconds to wait before returning 1198 * VERR_TIMEOUT. Use RT_INDEFINITE_WAIT to wait 1199 1199 * forever. 1200 1200 * @param pahReqs Pointer to an array where the handles of the … … 1212 1212 * RT_ELEMENTS and similar macros. 1213 1213 */ 1214 RTDECL(int) RTFileAioCtxWait(RTFILEAIOCTX hAioCtx, size_t cMinReqs, unsigned cMillisTimeout,1214 RTDECL(int) RTFileAioCtxWait(RTFILEAIOCTX hAioCtx, size_t cMinReqs, RTMSINTERVAL cMillies, 1215 1215 PRTFILEAIOREQ pahReqs, size_t cReqs, uint32_t *pcReqs); 1216 1216 -
trunk/include/iprt/req.h
r24468 r25724 186 186 * Use RT_INDEFINITE_WAIT to only wait till one is added. 187 187 */ 188 RTDECL(int) RTReqProcess(PRTREQQUEUE pQueue, unsignedcMillies);188 RTDECL(int) RTReqProcess(PRTREQQUEUE pQueue, RTMSINTERVAL cMillies); 189 189 190 190 … … 213 213 * @remarks See remarks on RTReqCallV. 214 214 */ 215 RTDECL(int) RTReqCall(PRTREQQUEUE pQueue, PRTREQ *ppReq, unsignedcMillies, PFNRT pfnFunction, unsigned cArgs, ...);215 RTDECL(int) RTReqCall(PRTREQQUEUE pQueue, PRTREQ *ppReq, RTMSINTERVAL cMillies, PFNRT pfnFunction, unsigned cArgs, ...); 216 216 217 217 … … 240 240 * @remarks See remarks on RTReqCallV. 241 241 */ 242 RTDECL(int) RTReqCallVoid(PRTREQQUEUE pQueue, PRTREQ *ppReq, unsignedcMillies, PFNRT pfnFunction, unsigned cArgs, ...);242 RTDECL(int) RTReqCallVoid(PRTREQQUEUE pQueue, PRTREQ *ppReq, RTMSINTERVAL cMillies, PFNRT pfnFunction, unsigned cArgs, ...); 243 243 244 244 … … 269 269 * @remarks See remarks on RTReqCallV. 270 270 */ 271 RTDECL(int) RTReqCallEx(PRTREQQUEUE pQueue, PRTREQ *ppReq, unsignedcMillies, unsigned fFlags, PFNRT pfnFunction, unsigned cArgs, ...);271 RTDECL(int) RTReqCallEx(PRTREQQUEUE pQueue, PRTREQ *ppReq, RTMSINTERVAL cMillies, unsigned fFlags, PFNRT pfnFunction, unsigned cArgs, ...); 272 272 273 273 … … 305 305 * Use (void *)NULL or (uintptr_t)0 instead of NULL. 306 306 */ 307 RTDECL(int) RTReqCallV(PRTREQQUEUE pQueue, PRTREQ *ppReq, unsignedcMillies, unsigned fFlags, PFNRT pfnFunction, unsigned cArgs, va_list Args);307 RTDECL(int) RTReqCallV(PRTREQQUEUE pQueue, PRTREQ *ppReq, RTMSINTERVAL cMillies, unsigned fFlags, PFNRT pfnFunction, unsigned cArgs, va_list Args); 308 308 309 309 … … 352 352 * wait till it's completed. 353 353 */ 354 RTDECL(int) RTReqQueue(PRTREQ pReq, unsignedcMillies);354 RTDECL(int) RTReqQueue(PRTREQ pReq, RTMSINTERVAL cMillies); 355 355 356 356 … … 366 366 * Use RT_INDEFINITE_WAIT to only wait till it's completed. 367 367 */ 368 RTDECL(int) RTReqWait(PRTREQ pReq, unsignedcMillies);368 RTDECL(int) RTReqWait(PRTREQ pReq, RTMSINTERVAL cMillies); 369 369 370 370 /** -
trunk/include/iprt/semaphore.h
r25723 r25724 123 123 * @param cMillies Number of milliseconds to wait. 124 124 */ 125 RTDECL(int) RTSemEventWait(RTSEMEVENT hEventSem, unsignedcMillies);125 RTDECL(int) RTSemEventWait(RTSEMEVENT hEventSem, RTMSINTERVAL cMillies); 126 126 127 127 /** … … 134 134 * @param cMillies Number of milliseconds to wait. 135 135 */ 136 RTDECL(int) RTSemEventWaitNoResume(RTSEMEVENT hEventSem, unsignedcMillies);136 RTDECL(int) RTSemEventWaitNoResume(RTSEMEVENT hEventSem, RTMSINTERVAL cMillies); 137 137 138 138 /** … … 251 251 * @param cMillies Number of milliseconds to wait. 252 252 */ 253 RTDECL(int) RTSemEventMultiWait(RTSEMEVENTMULTI hEventMultiSem, unsignedcMillies);253 RTDECL(int) RTSemEventMultiWait(RTSEMEVENTMULTI hEventMultiSem, RTMSINTERVAL cMillies); 254 254 255 255 … … 263 263 * @param cMillies Number of milliseconds to wait. 264 264 */ 265 RTDECL(int) RTSemEventMultiWaitNoResume(RTSEMEVENTMULTI hEventMultiSem, unsignedcMillies);265 RTDECL(int) RTSemEventMultiWaitNoResume(RTSEMEVENTMULTI hEventMultiSem, RTMSINTERVAL cMillies); 266 266 267 267 /** … … 389 389 * @param cMillies The number of milliseconds to wait. 390 390 */ 391 RTDECL(int) RTSemMutexRequest(RTSEMMUTEX hMutexSem, unsignedcMillies);391 RTDECL(int) RTSemMutexRequest(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies); 392 392 393 393 /** … … 404 404 * @param cMillies The number of milliseconds to wait. 405 405 */ 406 RTDECL(int) RTSemMutexRequestNoResume(RTSEMMUTEX hMutexSem, unsignedcMillies);406 RTDECL(int) RTSemMutexRequestNoResume(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies); 407 407 408 408 /** … … 421 421 * from. Optional. 422 422 */ 423 RTDECL(int) RTSemMutexRequestDebug(RTSEMMUTEX hMutexSem, unsignedcMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL);423 RTDECL(int) RTSemMutexRequestDebug(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL); 424 424 425 425 /** … … 437 437 * from. Optional. 438 438 */ 439 RTDECL(int) RTSemMutexRequestNoResumeDebug(RTSEMMUTEX hMutexSem, unsignedcMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL);439 RTDECL(int) RTSemMutexRequestNoResumeDebug(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL); 440 440 441 441 /** … … 976 976 * @param cMillies Number of milliseconds to wait. 977 977 */ 978 RTDECL(int) RTSemPingWait(PRTPINGPONG pPP, unsignedcMillies);978 RTDECL(int) RTSemPingWait(PRTPINGPONG pPP, RTMSINTERVAL cMillies); 979 979 980 980 /** … … 986 986 * @param cMillies Number of milliseconds to wait. 987 987 */ 988 RTDECL(int) RTSemPongWait(PRTPINGPONG pPP, unsignedcMillies);988 RTDECL(int) RTSemPongWait(PRTPINGPONG pPP, RTMSINTERVAL cMillies); 989 989 990 990 -
trunk/include/iprt/tcp.h
r23625 r25724 198 198 * Use RT_INDEFINITE_WAIT to wait for ever. 199 199 */ 200 RTR3DECL(int) RTTcpSelectOne(RTSOCKET Sock, unsignedcMillies);200 RTR3DECL(int) RTTcpSelectOne(RTSOCKET Sock, RTMSINTERVAL cMillies); 201 201 202 202 -
trunk/include/iprt/thread.h
r25638 r25724 200 200 * @remark See RTThreadNanoSleep() for sleeping for smaller periods of time. 201 201 */ 202 RTDECL(int) RTThreadSleep( unsignedcMillies);202 RTDECL(int) RTThreadSleep(RTMSINTERVAL cMillies); 203 203 204 204 /** … … 334 334 * @param prc Where to store the return code of the thread. Optional. 335 335 */ 336 RTDECL(int) RTThreadWait(RTTHREAD Thread, unsignedcMillies, int *prc);336 RTDECL(int) RTThreadWait(RTTHREAD Thread, RTMSINTERVAL cMillies, int *prc); 337 337 338 338 /** … … 345 345 * @param prc Where to store the return code of the thread. Optional. 346 346 */ 347 RTDECL(int) RTThreadWaitNoResume(RTTHREAD Thread, unsignedcMillies, int *prc);347 RTDECL(int) RTThreadWaitNoResume(RTTHREAD Thread, RTMSINTERVAL cMillies, int *prc); 348 348 349 349 /** … … 406 406 * an indefinite wait. 407 407 */ 408 RTDECL(int) RTThreadUserWait(RTTHREAD Thread, unsignedcMillies);408 RTDECL(int) RTThreadUserWait(RTTHREAD Thread, RTMSINTERVAL cMillies); 409 409 410 410 /** … … 416 416 * an indefinite wait. 417 417 */ 418 RTDECL(int) RTThreadUserWaitNoResume(RTTHREAD Thread, unsignedcMillies);418 RTDECL(int) RTThreadUserWaitNoResume(RTTHREAD Thread, RTMSINTERVAL cMillies); 419 419 420 420 /**
Note:
See TracChangeset
for help on using the changeset viewer.