comparison src/core/ngx_shmtx.c @ 4310:13f108b9f3cf

Fixed build without atomic operations.
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 23 Nov 2011 14:07:06 +0000
parents 3f6040cd731e
children 424a1ac6af43
comparison
equal deleted inserted replaced
4309:3f6040cd731e 4310:13f108b9f3cf
297 297
298 ngx_log_abort(err, ngx_unlock_fd_n " %s failed", mtx->name); 298 ngx_log_abort(err, ngx_unlock_fd_n " %s failed", mtx->name);
299 } 299 }
300 300
301 301
302 void 302 ngx_uint_t
303 ngx_shmtx_force_unlock(ngx_shmtx_t *mtx, ngx_pid_t pid) 303 ngx_shmtx_force_unlock(ngx_shmtx_t *mtx, ngx_pid_t pid)
304 { 304 {
305 /* void */ 305 return 0;
306 } 306 }
307 307
308 #endif 308 #endif