Mercurial > hg > nginx
comparison src/event/ngx_event_accept.c @ 212:679f60139863
nginx-0.0.1-2003-12-19-11:15:11 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 19 Dec 2003 08:15:11 +0000 |
parents | 0b67be7d4489 |
children | 86e473b5641e |
comparison
equal
deleted
inserted
replaced
211:fd9fecc4193f | 212:679f60139863 |
---|---|
205 * | 205 * |
206 * TODO: MP: - allocated in a shared memory | 206 * TODO: MP: - allocated in a shared memory |
207 * - atomic increment (x86: lock xadd) | 207 * - atomic increment (x86: lock xadd) |
208 * or protection by critical section or mutex | 208 * or protection by critical section or mutex |
209 */ | 209 */ |
210 | |
210 c->number = ngx_connection_counter++; | 211 c->number = ngx_connection_counter++; |
211 | 212 |
212 ngx_log_debug(ev->log, "accept: %d, %d" _ s _ c->number); | 213 ngx_log_debug(ev->log, "accept: %d, %d" _ s _ c->number); |
213 | 214 |
214 if (ev->deferred_accept) { | 215 if (ev->deferred_accept) { |