Normally, you need not be aware of LWPs. There are times, however, when thread level queries cannot be completed. In this case, use the lwps command to show information about LWPs.
(dbx) lwps l@1 running in main() l@2 running in sigwait() l@3 running in _lwp_sema_wait() *>l@4 breakpoint in Queue_dequeue() l@5 running in _thread_start() (dbx)
The * (asterisk) indicates that an event requiring user attention has occurred in this LWP.
The arrow denotes the current LWP.
l@num refers to a particular LWP.
The next item represents the LWP state.
in func_name() identifies the function that the LWP is currently executing.