Mercurial > hg > nginx-quic
view src/event/ngx_event_posted.h @ 342:0ee0642af5f1
nginx-0.0.3-2004-05-26-23:33:53 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 26 May 2004 19:33:53 +0000 |
parents | 6b91bfbc4123 |
children | 54f76b0b8dca |
line wrap: on
line source
#ifndef _NGX_EVENT_POSTED_H_INCLUDED_ #define _NGX_EVENT_POSTED_H_INCLUDED_ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_event.h> #define ngx_post_event(ev) \ ev->next = (ngx_event_t *) ngx_posted_events; \ ngx_posted_events = ev; \ ev->posted = 1; void ngx_event_process_posted(ngx_cycle_t *cycle); #if (NGX_THREADS) void ngx_event_thread_handler(ngx_event_t *ev); #endif extern ngx_thread_volatile ngx_event_t *ngx_posted_events; #if (NGX_THREADS) extern ngx_mutex_t *ngx_posted_events_mutex; #endif #endif /* _NGX_EVENT_POSTED_H_INCLUDED_ */