Yep.  The system call is lwp_park().  Given that it's a blocking
system call, the time a thread spends here is effectively unbounded.

Chad

On Wed, Feb 3, 2010 at 3:47 PM, Jim Mauro <james.ma...@sun.com> wrote:
> It's used to put threads to sleep that are blocking on user locks
> (at least that's my recollection).
>
> Run "prstat -Lmp <PID_OF_APP) - what does  the "LCK" column look like?
>
> Try running plockstat -A -p <PID_OF_APP>.
>
> Thanks,
> /jim
>
>
> Dtrace Email wrote:
>>
>> Hi,  when doing dtrace on an appliction, __lwp_park() seems to be taking a
>> lot of time.  What does it really do?   is it waiting for threads?
>>
>> Thanks,
>>
>
> _______________________________________________
> dtrace-discuss mailing list
> dtrace-discuss@opensolaris.org
>
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to