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

Make oh-my-github-sync command async, so it will not hang Emacs. #3

Closed
jiacai2050 opened this issue Apr 24, 2022 · 0 comments
Closed

Comments

@jiacai2050
Copy link
Owner

jiacai2050 commented Apr 24, 2022

In Emacs 28, there is a open_channel function, which accept a pipe-proc and return a fd that can be used in multiple threads

Luckily, both libcurl and Sqlite is threadsafe

@jiacai2050 jiacai2050 changed the title Make oh-my-githubsync command async, so it will not hang Emacs. Make oh-my-github-sync command async, so it will not hang Emacs. Apr 24, 2022
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