Changeset 2245
- Timestamp:
- 04/19/07 23:24:12 (2 years ago)
- Files:
-
- trunk/include/iprt/asm.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/include/iprt/asm.h
r2144 r2245 1765 1765 1766 1766 /** 1767 * Atomically Exchange a bool value. 1768 * 1769 * @returns Current *pf value 1770 * @param pf Pointer to the 8-bit variable to update. 1771 * @param f The 8-bit value to assign to *pi8. 1772 */ 1773 DECLINLINE(bool) ASMAtomicXchgBool(volatile bool *pf, bool f) 1774 { 1775 return (bool)ASMAtomicXchgU8((volatile uint8_t *)pf, (uint8_t)f); 1776 } 1777 1778 1779 /** 1767 1780 * Atomically Exchange an unsigned 16-bit value. 1768 1781 *

