Lines Matching refs:lwps
58 /* Filter for resumed LWPs which can report events from wait. */
61 /* Number of LWPs this process contains. */
64 /* Number of LWPs currently running. */
816 threads onto N (<= M) kernel threads (LWPs). The second (libthr)
915 This enables stops on the birth for new LWPs (excluding the "main" LWP)
916 and the death of LWPs (excluding the last LWP in a process). Note
948 /* Add threads for any new LWPs in a process.
964 gdb::unique_xmalloc_ptr<lwpid_t[]> lwps (XCNEWVEC (lwpid_t, nlwps));
966 nlwps = ptrace (PT_GETLWPLIST, pid, (caddr_t) lwps.get (), nlwps);
975 ptid_t ptid = ptid_t (pid, lwps[i]);
984 if (ptrace (PT_LWPINFO, lwps[i], (caddr_t) &pl, sizeof pl) == -1)
989 fbsd_lwp_debug_printf ("adding thread for LWP %u", lwps[i]);
1208 /* If ptid is a specific LWP, suspend all other LWPs in the
1209 process, otherwise resume all LWPs in the process.. */
1407 /* During process exit LWPs that were not resumed
1949 gdb::unique_xmalloc_ptr<lwpid_t[]> lwps (XCNEWVEC (lwpid_t, nlwps));
1951 nlwps = ptrace (PT_GETLWPLIST, pid, (caddr_t) lwps.get (), nlwps);
1957 if (lwps[i] == lwpid)
1960 if (ptrace (PT_LWPINFO, lwps[i], (caddr_t) &pl, sizeof (pl)) != 0)