diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-03-01 00:03:02 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-03-01 00:03:02 +0300 |
commit | d94049b6320504f3213adfaad939493676e83a3a (patch) | |
tree | 7a25b794030cbee22cca6e2bf27aa3569f915d2c /src/event/ngx_event.h | |
parent | 898446c8bacb5b0e1c223dfec4643ebee8d07f8e (diff) |
nginx-0.0.2-2004-03-01-00:03:02 import
Diffstat (limited to 'src/event/ngx_event.h')
-rw-r--r-- | src/event/ngx_event.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/event/ngx_event.h b/src/event/ngx_event.h index 899db18aa..17462dff9 100644 --- a/src/event/ngx_event.h +++ b/src/event/ngx_event.h @@ -20,6 +20,14 @@ typedef struct { #endif +typedef struct { + ngx_uint_t lock; + + ngx_event_t *events; + ngx_event_t *last; +} ngx_event_mutex_t; + + struct ngx_event_s { void *data; /* TODO rename to handler */ @@ -373,11 +381,11 @@ typedef struct { -extern ngx_event_t *ngx_posted_events; +extern volatile ngx_event_t *ngx_posted_events; -extern int ngx_event_flags; -extern ngx_module_t ngx_events_module; -extern ngx_module_t ngx_event_core_module; +extern int ngx_event_flags; +extern ngx_module_t ngx_events_module; +extern ngx_module_t ngx_event_core_module; #define ngx_event_get_conf(conf_ctx, module) \ |