comparison src/http/ngx_http_busy_lock.c @ 189:c966c09be66b

nginx-0.0.1-2003-11-18-19:49:00 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 18 Nov 2003 16:49:00 +0000
parents a8ff48d26cca
children dd66383796a5
comparison
equal deleted inserted replaced
188:0061d1f0908d 189:c966c09be66b
101 101
102 102
103 void ngx_http_busy_unlock(ngx_http_busy_lock_t *bl, 103 void ngx_http_busy_unlock(ngx_http_busy_lock_t *bl,
104 ngx_http_busy_lock_ctx_t *bc) 104 ngx_http_busy_lock_ctx_t *bc)
105 { 105 {
106 if (bl == NULL) {
107 return;
108 }
109
106 if (bl->md5) { 110 if (bl->md5) {
107 bl->md5_mask[bc->slot / 8] &= ~(1 << (bc->slot & 7)); 111 bl->md5_mask[bc->slot / 8] &= ~(1 << (bc->slot & 7));
108 bl->cachable--; 112 bl->cachable--;
109 } 113 }
110 114