Don't try to determine internal thread state when requesting stack trace
thread_wakeup() is idempotent, it can be called at an arbitrary time and
it will only wake up a thread when it's sleeping, with no chance of any
races. Checking if istate is present from "outside" the thread is just
an unnecessary and a wrong thing to do.
(No files)
Note:
See TracChangeset
for help on using the changeset viewer.