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

[Help Wanted] Identify Reboot Complete #8

Open
Lakr233 opened this issue Mar 27, 2024 · 2 comments
Open

[Help Wanted] Identify Reboot Complete #8

Lakr233 opened this issue Mar 27, 2024 · 2 comments

Comments

@Lakr233
Copy link
Owner

Lakr233 commented Mar 27, 2024

Before calling reopen apps, wait for reboot to complete.

@Lakr233
Copy link
Owner Author

Lakr233 commented Mar 27, 2024

@Kyle-Ye !!!

@Kyle-Ye
Copy link
Contributor

Kyle-Ye commented Mar 27, 2024

The current implementation use sleep(5) as a workaround.

sleep(5)

IMO, if we can get the count of iterateBlock execution. We can use a counter(dispatch_semaphore_t) here and add it in the end of iterateBlock.

launch_data_dict_iterate(response, iterateBlock, nil)

On the caller site, we can then wait it.

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

No branches or pull requests

2 participants