Changeset 25721 in vbox for trunk/include
- Timestamp:
- Jan 11, 2010 2:01:53 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 56461
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/semaphore.h
r25720 r25721 355 355 * 356 356 * @returns iprt status code. 357 * @param MutexSem The mutex semaphore to destroy. 358 */ 359 RTDECL(int) RTSemMutexDestroy(RTSEMMUTEX MutexSem); 357 * @param hMutexSem The mutex semaphore to destroy. NIL is quitely 358 * ignored (VINF_SUCCESS). 359 */ 360 RTDECL(int) RTSemMutexDestroy(RTSEMMUTEX hMutexSem); 360 361 361 362 /** … … 385 386 * @returns iprt status code. 386 387 * Will not return VERR_INTERRUPTED. 387 * @param MutexSemThe mutex semaphore to request ownership over.388 * @param cMillies The number of milliseconds to wait.389 */ 390 RTDECL(int) RTSemMutexRequest(RTSEMMUTEX MutexSem, unsigned cMillies);388 * @param hMutexSem The mutex semaphore to request ownership over. 389 * @param cMillies The number of milliseconds to wait. 390 */ 391 RTDECL(int) RTSemMutexRequest(RTSEMMUTEX hMutexSem, unsigned cMillies); 391 392 392 393 /** … … 400 401 * 401 402 * @returns iprt status code. 402 * @param MutexSemThe mutex semaphore to request ownership over.403 * @param cMillies The number of milliseconds to wait.404 */ 405 RTDECL(int) RTSemMutexRequestNoResume(RTSEMMUTEX MutexSem, unsigned cMillies);403 * @param hMutexSem The mutex semaphore to request ownership over. 404 * @param cMillies The number of milliseconds to wait. 405 */ 406 RTDECL(int) RTSemMutexRequestNoResume(RTSEMMUTEX hMutexSem, unsigned cMillies); 406 407 407 408 /** … … 410 411 * @returns iprt status code. 411 412 * Will not return VERR_INTERRUPTED. 412 * @param MutexSemThe mutex semaphore to request ownership over.413 * @param hMutexSem The mutex semaphore to request ownership over. 413 414 * @param cMillies The number of milliseconds to wait. 414 415 * @param uId Some kind of locking location ID. Typically a … … 420 421 * from. Optional. 421 422 */ 422 RTDECL(int) RTSemMutexRequestDebug(RTSEMMUTEX MutexSem, unsigned cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL);423 RTDECL(int) RTSemMutexRequestDebug(RTSEMMUTEX hMutexSem, unsigned cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL); 423 424 424 425 /** … … 426 427 * 427 428 * @returns iprt status code. 428 * @param MutexSemThe mutex semaphore to request ownership over.429 * @param hMutexSem The mutex semaphore to request ownership over. 429 430 * @param cMillies The number of milliseconds to wait. 430 431 * @param uId Some kind of locking location ID. Typically a … … 436 437 * from. Optional. 437 438 */ 438 RTDECL(int) RTSemMutexRequestNoResumeDebug(RTSEMMUTEX MutexSem, unsigned cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL);439 RTDECL(int) RTSemMutexRequestNoResumeDebug(RTSEMMUTEX hMutexSem, unsigned cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL); 439 440 440 441 /** … … 442 443 * 443 444 * @returns iprt status code. 444 * @param MutexSem The mutex to release the ownership of. 445 * It goes without saying the the calling thread must own it. 446 */ 447 RTDECL(int) RTSemMutexRelease(RTSEMMUTEX MutexSem); 445 * @param hMutexSem The mutex to release the ownership of. It goes 446 * without saying the the calling thread must own 447 * it. 448 */ 449 RTDECL(int) RTSemMutexRelease(RTSEMMUTEX hMutexSem); 448 450 449 451 /** … … 451 453 * 452 454 * @returns true if owned, false if not. 453 * @param hMutex 454 */ 455 RTDECL(bool) RTSemMutexIsOwned(RTSEMMUTEX hMutex );455 * @param hMutexSem The mutex semaphore. 456 */ 457 RTDECL(bool) RTSemMutexIsOwned(RTSEMMUTEX hMutexSem); 456 458 457 459 /* Strict build: Remap the two request calls to the debug versions. */ … … 492 494 * 493 495 * @returns iprt status code. 494 * @param MutexSem The mutex semaphore to destroy.495 */ 496 RTDECL(int) RTSemFastMutexDestroy(RTSEMFASTMUTEX MutexSem);496 * @param hMutexSem The mutex semaphore to destroy. 497 */ 498 RTDECL(int) RTSemFastMutexDestroy(RTSEMFASTMUTEX hMutexSem); 497 499 498 500 /** … … 504 506 * 505 507 * @returns iprt status code. 506 * @param MutexSem The mutex semaphore to request ownership over.507 */ 508 RTDECL(int) RTSemFastMutexRequest(RTSEMFASTMUTEX MutexSem);508 * @param hMutexSem The mutex semaphore to request ownership over. 509 */ 510 RTDECL(int) RTSemFastMutexRequest(RTSEMFASTMUTEX hMutexSem); 509 511 510 512 /** … … 512 514 * 513 515 * @returns iprt status code. 514 * @param MutexSem The mutex to release the ownership of.516 * @param hMutexSem The mutex to release the ownership of. 515 517 * It goes without saying the the calling thread must own it. 516 518 */ 517 RTDECL(int) RTSemFastMutexRelease(RTSEMFASTMUTEX MutexSem);519 RTDECL(int) RTSemFastMutexRelease(RTSEMFASTMUTEX hMutexSem); 518 520 519 521 /** @} */
Note:
See TracChangeset
for help on using the changeset viewer.