forked from joyent/libuv
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unix: speed up uv_async_send() some more still
__sync_val_compare_and_swap() emits a CMPXCHG instruction on i386 and x86_64. Use XCHG instead, it's about four times faster.
- Loading branch information
1 parent
3d9c1eb
commit c5761f7
Showing
1 changed file
with
32 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters