Home
last modified time | relevance | path

Searched refs:nlwpid (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/lib/libc/port/threads/
H A Drwlock.c382 int nlwpid = 0; in rw_queue_release() local
449 if (nlwpid == maxlwps) in rw_queue_release()
450 lwpid = alloc_lwpids(lwpid, &nlwpid, &maxlwps); in rw_queue_release()
463 lwpid[nlwpid++] = ulwp->ul_lwpid; in rw_queue_release()
476 if (nlwpid == 0) { in rw_queue_release()
482 if (nlwpid == 1) in rw_queue_release()
485 (void) __lwp_unpark_all(lwpid, nlwpid); in rw_queue_release()
H A Dsynch.c1642 int nlwpid = 0; in mutex_wakeup_all() local
1673 if (nlwpid == maxlwps) in mutex_wakeup_all()
1674 lwpid = alloc_lwpids(lwpid, &nlwpid, &maxlwps); in mutex_wakeup_all()
1675 lwpid[nlwpid++] = ulwp->ul_lwpid; in mutex_wakeup_all()
1678 if (nlwpid == 0) { in mutex_wakeup_all()
1684 if (nlwpid == 1) in mutex_wakeup_all()
1687 (void) __lwp_unpark_all(lwpid, nlwpid); in mutex_wakeup_all()
3747 int nlwpid = *nlwpid_ptr; in alloc_lwpids() local
3753 ASSERT(nlwpid == maxlwps); in alloc_lwpids()
3766 (void) __lwp_unpark_all(lwpid, nlwpid); in alloc_lwpids()
[all …]