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

call() isn't marked as sleepable #344

Open
Mothblocks opened this issue Dec 11, 2022 · 0 comments
Open

call() isn't marked as sleepable #344

Mothblocks opened this issue Dec 11, 2022 · 0 comments

Comments

@Mothblocks
Copy link
Contributor

call to a proc will sleep if that proc sleeps, but SpacemanDMM does not know this.

I'm planning on getting around this by putting this at the top of callback.Invoke():

#define SOMETIMES_SLEEPS(...) if (UNLINT(FALSE)) { sleep(0); }
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

1 participant