[PATCH] Introduce an extra runstate for monitoring thread startup