pub fn thread_by_id(id: u64) -> Option<ThreadInfo>Expand description
The thread whose EPICS ID or OS id is id — C’s match in
epicsThreadShow (osdThread.c:1051-1053).
C compares against the epicsThreadOSD * and the pthread_t. The second
is deliberately the printed OS id here instead: on Linux C prints
lwpId and matches tid, so the number on screen is not one C accepts —
a shell user can only ever act on what the listing showed them.