Mercurial > hg > nginx-quic
comparison src/event/ngx_event_posted.c @ 373:018569a8f09c
nginx-0.0.7-2004-06-30-19:30:41 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 30 Jun 2004 15:30:41 +0000 |
parents | c9fdfccebc49 |
children | 213f17e9f776 |
comparison
equal
deleted
inserted
replaced
372:c9fdfccebc49 | 373:018569a8f09c |
---|---|
109 | 109 |
110 ngx_mutex_unlock(ngx_posted_events_mutex); | 110 ngx_mutex_unlock(ngx_posted_events_mutex); |
111 | 111 |
112 if (ev->posted) { | 112 if (ev->posted) { |
113 ev->posted = 0; | 113 ev->posted = 0; |
114 if (!ev->timedout) { | |
115 ev->ready = 1; | |
116 } | |
114 } | 117 } |
115 | 118 |
116 ev->event_handler(ev); | 119 ev->event_handler(ev); |
117 | 120 |
118 ngx_unlock(ev->lock); | 121 ngx_unlock(ev->lock); |