Changeset 47572 in vbox for trunk/include/iprt
- Timestamp:
- Aug 7, 2013 9:51:45 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 87772
- Location:
- trunk/include/iprt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/mangling.h
r47516 r47572 1592 1592 # define RTThreadCreateF RT_MANGLER(RTThreadCreateF) 1593 1593 # define RTThreadCreateV RT_MANGLER(RTThreadCreateV) 1594 # define RTThreadCtxHooksAreRegistered RT_MANGLER(RTThreadCtxHooksAreRegistered) /* r0drv */ 1594 1595 # define RTThreadCtxHooksCreate RT_MANGLER(RTThreadCtxHooksCreate) /* r0drv */ 1595 1596 # define RTThreadCtxHooksDeregister RT_MANGLER(RTThreadCtxHooksDeregister) /* r0drv */ -
trunk/include/iprt/thread.h
r47370 r47572 637 637 * 638 638 * @returns New reference count. 639 * @retval 0 if the thread-context hook was freed or the handle was639 * @retval 0 if the thread-context hook was freed or @a hThreadCtx is 640 640 * NIL_RTTHREADCTX. 641 641 * @retval UINT32_MAX is returned if the handle is invalid (asserted). 642 642 * 643 * @param phThreadCtx Pointer to the thread-context handle (can be 644 * NIL_RTTHREADCTX). 643 * @param hThreadCtx The thread-context handle. 645 644 * 646 645 * @remarks This can be called from any thread but must be called with … … 654 653 * 655 654 * @returns IPRT status code. 656 * @param phThreadCtx Poinner to the thread-context handle.655 * @param hThreadCtx The thread-context handle. 657 656 * @param pfnThreadHook Pointer to a thread-context hook (a callback) 658 657 * for all thread-context events. … … 667 666 * 668 667 * @returns IPRT status code. 669 * @param phThreadCtx Pointer to the thread-context handle.668 * @param hThreadCtx The thread-context handle. 670 669 * 671 670 * @remarks Can be called with preemption disabled. 672 671 */ 673 672 RTDECL(int) RTThreadCtxHooksDeregister(RTTHREADCTX hThreadCtx); 673 674 /** 675 * Are thread-context hooks registered for the thread? 676 * 677 * @returns true if registered, false if not supported or not registered. 678 * @param hThreadCtx The thread-context handle. 679 * 680 * @remarks Can be called from any thread (but possibility of races when 681 * it's not the current thread!) 682 */ 683 RTDECL(bool) RTThreadCtxHooksAreRegistered(RTTHREADCTX hThreadCtx); 674 684 675 685 # endif /* IN_RING0 */
Note:
See TracChangeset
for help on using the changeset viewer.