comparison src/os/unix/ngx_user.c @ 7109:4a670c18e5e6

Removed more remnants of the old pthread implementation. After e284f3ff6831, ngx_crypt() can no longer return NGX_AGAIN.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 18 Sep 2017 11:09:41 +0300
parents e284f3ff6831
children eca3e054e978
comparison
equal deleted inserted replaced
7108:2bf605c6edf7 7109:4a670c18e5e6
5 */ 5 */
6 6
7 7
8 #include <ngx_config.h> 8 #include <ngx_config.h>
9 #include <ngx_core.h> 9 #include <ngx_core.h>
10
11
12 /*
13 * Solaris has thread-safe crypt()
14 * Linux has crypt_r(); "struct crypt_data" is more than 128K
15 * FreeBSD needs the mutex to protect crypt()
16 *
17 * TODO:
18 * ngx_crypt_init() to init mutex
19 */
20 10
21 11
22 #if (NGX_CRYPT) 12 #if (NGX_CRYPT)
23 13
24 #if (NGX_HAVE_GNU_CRYPT_R) 14 #if (NGX_HAVE_GNU_CRYPT_R)