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

*** 19,29 **** * CDDL HEADER END */ /* * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. ! * Copyright 2012, Joyent, Inc. All rights reserved. */ /* * wait.c - asynchronous monitoring of "wait registered" start methods * --- 19,30 ---- * CDDL HEADER END */ /* * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. ! * ! * Copyright 2018 Joyent, Inc. */ /* * wait.c - asynchronous monitoring of "wait registered" start methods *
*** 250,259 **** --- 251,262 ---- /*ARGSUSED*/ void * wait_thread(void *args) { + (void) pthread_setname_np(pthread_self(), "wait"); + for (;;) { port_event_t pe; int fd; wait_info_t *wi;