sbool isInQ(Q q) { ret q != null && isCurrentThread(q.rst.thread); }