comparison src/event/ngx_event.h @ 6032:ac7c7241ed8c

Removed busy locks.
author Ruslan Ermilov <ru@nginx.com>
date Fri, 20 Mar 2015 06:45:32 +0300
parents 4652f8f26b12
children 4dc8e7b62216
comparison
equal deleted inserted replaced
6031:c8acea7c7041 6032:ac7c7241ed8c
23 ngx_event_t *event; 23 ngx_event_t *event;
24 int error; 24 int error;
25 } ngx_event_ovlp_t; 25 } ngx_event_ovlp_t;
26 26
27 #endif 27 #endif
28
29
30 typedef struct {
31 ngx_uint_t lock;
32
33 ngx_event_t *events;
34 ngx_event_t *last;
35 } ngx_event_mutex_t;
36 28
37 29
38 struct ngx_event_s { 30 struct ngx_event_s {
39 void *data; 31 void *data;
40 32
531 #define ngx_event_ident(p) ((ngx_connection_t *) (p))->fd 523 #define ngx_event_ident(p) ((ngx_connection_t *) (p))->fd
532 524
533 525
534 #include <ngx_event_timer.h> 526 #include <ngx_event_timer.h>
535 #include <ngx_event_posted.h> 527 #include <ngx_event_posted.h>
536 #include <ngx_event_busy_lock.h>
537 528
538 #if (NGX_WIN32) 529 #if (NGX_WIN32)
539 #include <ngx_iocp_module.h> 530 #include <ngx_iocp_module.h>
540 #endif 531 #endif
541 532