Linux: don't resume new LWPs until we've pulled all events out of the kernel