Returns true if this token has a task queued and ready to run, or if a task belonging to this token is already running.
| 717 | // Returns true if this token has a task queued and ready to run, or if a |
| 718 | // task belonging to this token is already running. |
| 719 | bool IsActive() const { |
| 720 | return state_ == State::RUNNING || |
| 721 | state_ == State::QUIESCING; |
| 722 | } |
| 723 | |
| 724 | // Returns true if new tasks may be submitted to this token. |
| 725 | bool MaySubmitNewTasks() const { |
no outgoing calls
no test coverage detected