From ddb7cd1c410a7166d8e28092d714f782ed1d69b3 Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Wed, 23 Nov 2011 14:07:06 +0000 Subject: [PATCH] Fixed build without atomic operations. --- src/core/ngx_shmtx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/ngx_shmtx.c b/src/core/ngx_shmtx.c index 5a9242dfe..34148684f 100644 --- a/src/core/ngx_shmtx.c +++ b/src/core/ngx_shmtx.c @@ -299,10 +299,10 @@ ngx_shmtx_unlock(ngx_shmtx_t *mtx) } -void +ngx_uint_t ngx_shmtx_force_unlock(ngx_shmtx_t *mtx, ngx_pid_t pid) { - /* void */ + return 0; } #endif