Mercurial > hg > nginx
diff 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 |
line wrap: on
line diff
--- a/src/os/unix/ngx_user.c +++ b/src/os/unix/ngx_user.c @@ -9,16 +9,6 @@ #include <ngx_core.h> -/* - * Solaris has thread-safe crypt() - * Linux has crypt_r(); "struct crypt_data" is more than 128K - * FreeBSD needs the mutex to protect crypt() - * - * TODO: - * ngx_crypt_init() to init mutex - */ - - #if (NGX_CRYPT) #if (NGX_HAVE_GNU_CRYPT_R)