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

*** 22,32 **** /* * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /* ! * Copyright 2016 Joyent, Inc. */ #include "lint.h" #include "thr_uberdata.h" --- 22,32 ---- /* * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /* ! * Copyright 2018 Joyent, Inc. */ #include "lint.h" #include "thr_uberdata.h"
*** 126,136 **** ap->prio < pccp->pcc_primin || ap->prio > pccp->pcc_primax)) return (EINVAL); flag = ap->scope | ap->detachstate | ap->daemonstate | THR_SUSPENDED; error = _thrp_create(ap->stkaddr, ap->stksize, start_routine, arg, ! flag, &tid, ap->guardsize); if (error == 0) { /* * Record the original inheritence value for * pthread_getattr_np(). We should always be able to find the * thread. --- 126,136 ---- ap->prio < pccp->pcc_primin || ap->prio > pccp->pcc_primax)) return (EINVAL); flag = ap->scope | ap->detachstate | ap->daemonstate | THR_SUSPENDED; error = _thrp_create(ap->stkaddr, ap->stksize, start_routine, arg, ! flag, &tid, ap->guardsize, ap->name); if (error == 0) { /* * Record the original inheritence value for * pthread_getattr_np(). We should always be able to find the * thread.