Mercurial > hg > nginx
comparison src/os/unix/ngx_thread_mutex.c @ 6585:e511e3d581bb
Fixed spelling.
author | Otto Kekäläinen <otto@seravo.fi> |
---|---|
date | Wed, 08 Jun 2016 08:27:41 +0300 |
parents | 466bd63b63d1 |
children | 022ea0d17177 |
comparison
equal
deleted
inserted
replaced
6584:690b15cc8915 | 6585:e511e3d581bb |
---|---|
47 * | 47 * |
48 * Linux: No deadlock detection. Dynamically changes a spin count | 48 * Linux: No deadlock detection. Dynamically changes a spin count |
49 * for each mutex from 10 to 100 based on spin count taken | 49 * for each mutex from 10 to 100 based on spin count taken |
50 * previously. | 50 * previously. |
51 * FreeBSD: Deadlock detection. The default spin count is 2000. | 51 * FreeBSD: Deadlock detection. The default spin count is 2000. |
52 * It can be overriden using LIBPTHREAD_SPINLOOPS environment | 52 * It can be overridden using LIBPTHREAD_SPINLOOPS environment |
53 * variable or by pthread_mutex_setspinloops_np(). If a lock | 53 * variable or by pthread_mutex_setspinloops_np(). If a lock |
54 * is still busy, sched_yield() can be called on both UP and | 54 * is still busy, sched_yield() can be called on both UP and |
55 * SMP systems. The default yield loop count is zero, but | 55 * SMP systems. The default yield loop count is zero, but |
56 * it can be set by LIBPTHREAD_YIELDLOOPS environment | 56 * it can be set by LIBPTHREAD_YIELDLOOPS environment |
57 * variable or by pthread_mutex_setyieldloops_np(). | 57 * variable or by pthread_mutex_setyieldloops_np(). |