pub fn is_shell_thread() -> boolExpand description
True on the shell thread, false on every worker.
!!! WARNING: RUST-ONLY !!! C has one thread and needs no such test.
Sharp edge, same as errflag_cell’s: a thread deliberately named
"main" by thread::Builder would be misclassified as the shell.
Nothing in this tree does that.