Mercurial > hg > nginx-mail
comparison src/os/unix/ngx_gcc_atomic_x86.h @ 665:0b460e61bdcd default tip
Merge with nginx 1.0.0.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 25 Apr 2011 04:22:17 +0400 |
parents | 5c576ea5dbd9 |
children |
comparison
equal
deleted
inserted
replaced
572:06419a2298a9 | 665:0b460e61bdcd |
---|---|
120 * to disable the gcc reorder optimizations | 120 * to disable the gcc reorder optimizations |
121 */ | 121 */ |
122 | 122 |
123 #define ngx_memory_barrier() __asm__ volatile ("" ::: "memory") | 123 #define ngx_memory_barrier() __asm__ volatile ("" ::: "memory") |
124 | 124 |
125 /* old as does not support "pause" opcode */ | 125 /* old "as" does not support "pause" opcode */ |
126 #define ngx_cpu_pause() __asm__ (".byte 0xf3, 0x90") | 126 #define ngx_cpu_pause() __asm__ (".byte 0xf3, 0x90") |