Native Thread ID is retrieved with _lwp_self() on NetBSD.
The returned value is of type int32_t, but for consistency with other Operating Systems cast it to uint64_t.
Sponsored by <The NetBSD Foundation>
Paths
| Differential D30374
Support NetBSD Thread ID in lldb-server tests ClosedPublic Authored by krytarowski on Feb 24 2017, 11:11 PM.
Details Summary Native Thread ID is retrieved with _lwp_self() on NetBSD. The returned value is of type int32_t, but for consistency with other Operating Systems cast it to uint64_t. Sponsored by <The NetBSD Foundation>
Diff Detail
Event Timelinekrytarowski retitled this revision from Support NetBSD Thread ID in lldb-server to Support NetBSD Thread ID in lldb-server tests.Feb 24 2017, 11:22 PM This revision is now accepted and ready to land.Feb 27 2017, 1:38 AM
Revision Contents
Diff 89778 packages/Python/lldbsuite/test/tools/lldb-server/exit-code/main.cpp
packages/Python/lldbsuite/test/tools/lldb-server/main.cpp
|