Skip to content
New issue

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

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

Already on GitHub? # 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); }
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants