comparison src/core/ngx_shmtx.h @ 1106:2c7fed12fab7

fix building on platforms with non-supported atomic operations
author Igor Sysoev <igor@sysoev.ru>
date Wed, 14 Feb 2007 13:52:47 +0000
parents 51d0884364fe
children e345fcf61a12
comparison
equal deleted inserted replaced
1105:66dc91c02e3f 1106:2c7fed12fab7
56 if (err == NGX_EAGAIN) { 56 if (err == NGX_EAGAIN) {
57 return 0; 57 return 0;
58 } 58 }
59 59
60 ngx_log_abort(err, ngx_trylock_fd_n " failed"); 60 ngx_log_abort(err, ngx_trylock_fd_n " failed");
61
62 return 0;
61 } 63 }
62 64
63 65
64 static ngx_inline void 66 static ngx_inline void
65 ngx_shmtx_lock(ngx_shmtx_t *mtx) 67 ngx_shmtx_lock(ngx_shmtx_t *mtx)