Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breakdemo #4556

Draft
wants to merge 2 commits into
base: 25.lts.1+
Choose a base branch
from
Draft

Breakdemo #4556

wants to merge 2 commits into from

Conversation

kaidokert
Copy link
Member

Quick dumb / simple demo for how to take the loop ownership away from Starboard Application object wrapper.

Intentionally obtuse / simple - we have no reason to have both blocking/nonblocking versions.

@@ -514,6 +524,24 @@ int Application::RunLoop() {
return error_level_;
}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just copy from above broken in 3

#if SB_API_VERSION >= 15
explicit Application(SbEventHandleCallback sb_event_handle_callback);
explicit Application(SbEventHandleCallback sb_event_handle_callback,
bool blocking = true);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding an arg isn't actually needed. Blocking version doesn't need to exist

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