aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_spinlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_spinlock.c')
-rw-r--r--src/core/ngx_spinlock.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/ngx_spinlock.c b/src/core/ngx_spinlock.c
index dfa7da411..00e7fca7d 100644
--- a/src/core/ngx_spinlock.c
+++ b/src/core/ngx_spinlock.c
@@ -8,6 +8,10 @@
#include <ngx_core.h>
+/*
+ * TODO: the P4 optimized assembler version with the "pause" operation
+ */
+
void ngx_spinlock(ngx_atomic_t *lock, ngx_uint_t spin)
{