diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-07-02 19:54:34 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-07-02 19:54:34 +0400 |
commit | 98c1cf18c1a4ffb14ded78e93359f87ee7bdeed4 (patch) | |
tree | 1e2b79792bce785142da3a73a3d68fde1154b542 /src/os/unix/ngx_freebsd_rfork_thread.c | |
parent | 46cd7c2a9bc740a2d3de03410dd84412b9d85856 (diff) |
nginx-0.0.7-2004-07-02-19:54:34 import
Diffstat (limited to 'src/os/unix/ngx_freebsd_rfork_thread.c')
-rw-r--r-- | src/os/unix/ngx_freebsd_rfork_thread.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/os/unix/ngx_freebsd_rfork_thread.c b/src/os/unix/ngx_freebsd_rfork_thread.c index 2c8dc69d0..aa3e78ba6 100644 --- a/src/os/unix/ngx_freebsd_rfork_thread.c +++ b/src/os/unix/ngx_freebsd_rfork_thread.c @@ -390,7 +390,7 @@ ngx_int_t ngx_mutex_dolock(ngx_mutex_t *m, ngx_int_t try) op.sem_num = 0; op.sem_op = -1; - op.sem_flg = SEM_UNDO; + op.sem_flg = 0; if (semop(m->semid, &op, 1) == -1) { ngx_log_error(NGX_LOG_ALERT, m->log, ngx_errno, @@ -514,7 +514,7 @@ ngx_int_t ngx_mutex_unlock(ngx_mutex_t *m) op.sem_num = 0; op.sem_op = 1; - op.sem_flg = SEM_UNDO; + op.sem_flg = 0; if (semop(m->semid, &op, 1) == -1) { ngx_log_error(NGX_LOG_ALERT, m->log, ngx_errno, @@ -590,7 +590,7 @@ ngx_int_t ngx_cond_wait(ngx_cond_t *cv, ngx_mutex_t *m) op.sem_num = 0; op.sem_op = -1; - op.sem_flg = SEM_UNDO; + op.sem_flg = 0; if (semop(cv->semid, &op, 1) == -1) { ngx_log_error(NGX_LOG_ALERT, cv->log, ngx_errno, @@ -618,7 +618,7 @@ ngx_int_t ngx_cond_signal(ngx_cond_t *cv) op.sem_num = 0; op.sem_op = 1; - op.sem_flg = SEM_UNDO; + op.sem_flg = 0; if (semop(cv->semid, &op, 1) == -1) { ngx_log_error(NGX_LOG_ALERT, cv->log, ngx_errno, |