comparison src/event/ngx_event_posted.h @ 376:d0451e402e27

nginx-0.0.7-2004-07-05-10:55:54 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 05 Jul 2004 06:55:54 +0000
parents 744ccb59062d
children 41437e4fd9b4
comparison
equal deleted inserted replaced
375:744ccb59062d 376:d0451e402e27
24 ev->prev = NULL; 24 ev->prev = NULL;
25 25
26 26
27 27
28 void ngx_event_process_posted(ngx_cycle_t *cycle); 28 void ngx_event_process_posted(ngx_cycle_t *cycle);
29 void ngx_wakeup_worker_thread(ngx_cycle_t *cycle);
29 30
30 extern ngx_thread_volatile ngx_event_t *ngx_posted_events; 31 extern ngx_thread_volatile ngx_event_t *ngx_posted_events;
31 32
32 33
33 #if (NGX_THREADS) 34 #if (NGX_THREADS)
34 ngx_int_t ngx_event_thread_process_posted(ngx_cycle_t *cycle); 35 ngx_int_t ngx_event_thread_process_posted(ngx_cycle_t *cycle);
35 36
36 extern ngx_mutex_t *ngx_posted_events_mutex; 37 extern ngx_mutex_t *ngx_posted_events_mutex;
37 extern ngx_cond_t *ngx_posted_events_cv;
38 #endif 38 #endif
39 39
40 40
41 #endif /* _NGX_EVENT_POSTED_H_INCLUDED_ */ 41 #endif /* _NGX_EVENT_POSTED_H_INCLUDED_ */