TIL another awful thing about Linux procfs behavior; top-level /proc only reports processes (thread-groups) via getdents/readdir, but opening /proc/$tid where $tid is any thread id (not necessarily also a process id) succeeds.
The argument to kill is a pid, not a tid; it sends the signal to the process not a particular thread of the process. It makes no sense to call it with a tid.
-
-
The first part is correct. /proc is supposed to list processes; there's no reason for threads to be there.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.