Skip to content

Add a boot timeout thread.#2593

Open
3405691582 wants to merge 1 commit into
google:mainfrom
3405691582:508320217_1
Open

Add a boot timeout thread.#2593
3405691582 wants to merge 1 commit into
google:mainfrom
3405691582:508320217_1

Conversation

@3405691582
Copy link
Copy Markdown
Collaborator

Add a timeout thread to the state machine. Once both threads start, the timeout thread will wait until the boot completion event is received, the boot affirmatively fails, or the timeout gets triggered. Then we attempt to inform the launcher, otherwise we abend. This way, we should have more deterministic stopping conditions.

We should perhaps expose the timeout flag more to the user, but this will suffice for now.

Bug: 508320217

Add a timeout thread to the state machine. Once both threads start, the
timeout thread will wait until the boot completion event is received,
the boot affirmatively fails, or the timeout gets triggered. Then we
attempt to inform the launcher, otherwise we abend. This way, we should
have more deterministic stopping conditions.

We should perhaps expose the timeout flag more to the user, but this
will suffice for now.

Bug: 508320217
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant