Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section

*** 19,28 **** --- 19,30 ---- * CDDL HEADER END */ /* * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. + * + * Copyright 2018 Joyent, Inc. */ #include <sys/ccompile.h> #include <stdlib.h>
*** 656,665 **** --- 658,669 ---- nscd_getent_context_t *gctx, *c; nscd_getent_context_t *first = NULL, *last = NULL; nss_getent_t nssctx = { 0 }; char *me = "reclaim_getent_ctx"; + (void) thr_setname(thr_self(), me); + /*CONSTCOND*/ while (1) { (void) sleep(60);
*** 742,752 **** /*NOTREACHED*/ /*LINTED E_FUNC_HAS_NO_RETURN_STMT*/ } static nscd_rc_t ! _nscd_init_getent_ctx_monitor() { int errnum; char *me = "_nscd_init_getent_ctx_monitor"; _NSCD_LOG(NSCD_LOG_GETENT_CTX, NSCD_LOG_LEVEL_DEBUG) --- 746,757 ---- /*NOTREACHED*/ /*LINTED E_FUNC_HAS_NO_RETURN_STMT*/ } static nscd_rc_t ! _nscd_init_getent_ctx_monitor() ! { int errnum; char *me = "_nscd_init_getent_ctx_monitor"; _NSCD_LOG(NSCD_LOG_GETENT_CTX, NSCD_LOG_LEVEL_DEBUG)