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

Add support for sync functions #20

Merged
merged 2 commits into from
Jun 21, 2021
Merged

Add support for sync functions #20

merged 2 commits into from
Jun 21, 2021

Conversation

sansyrox
Copy link
Member

Method 1 support for sync functions

@sansyrox
Copy link
Member Author

This approach still allows non-blocking execution of code.

This will block the sync thread when multiple sync functions are called and while the sync thread is blocked, async functions will still continue to progress as desired.

Future Improvement: reintroduce the threadpool for sync threads!

@sansyrox sansyrox merged commit 8f7a017 into main Jun 21, 2021
@sansyrox
Copy link
Member Author

Accepted this. Rejected (#21)

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