aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_connection.h')
-rw-r--r--src/core/ngx_connection.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h
index 67275bd5e..09684c53f 100644
--- a/src/core/ngx_connection.h
+++ b/src/core/ngx_connection.h
@@ -108,6 +108,10 @@ struct ngx_connection_s {
#if (HAVE_IOCP)
unsigned accept_context_updated:1;
#endif
+
+#if (NGX_THREADS)
+ ngx_atomic_t lock;
+#endif
};