Mercurial > hg > nginx
comparison src/core/ngx_spinlock.c @ 6016:457ec43dd8d5
Renamed NGX_THREADS to NGX_OLD_THREADS because of deprecation.
It's mostly dead code and the original idea of worker threads has been rejected.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 04 Mar 2015 18:26:25 +0300 |
parents | d620f497c50f |
children | f737e406aa68 |
comparison
equal
deleted
inserted
replaced
6015:e11a8e7e8e0c | 6016:457ec43dd8d5 |
---|---|
40 ngx_sched_yield(); | 40 ngx_sched_yield(); |
41 } | 41 } |
42 | 42 |
43 #else | 43 #else |
44 | 44 |
45 #if (NGX_THREADS) | 45 #if (NGX_OLD_THREADS) |
46 | 46 |
47 #error ngx_spinlock() or ngx_atomic_cmp_set() are not defined ! | 47 #error ngx_spinlock() or ngx_atomic_cmp_set() are not defined ! |
48 | 48 |
49 #endif | 49 #endif |
50 | 50 |