Changeset 2245 in vbox
- Timestamp:
- Apr 19, 2007 9:24:12 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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 *
Note:
See TracChangeset
for help on using the changeset viewer.