-
Notifications
You must be signed in to change notification settings - Fork 29
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
Threading support? #8
Comments
Nope. There is currently one true isolate. It would probably be an API breaking change to fix that. |
Or not, maybe |
I am fine with default isolate, but perhaps there should be a way to create one from python and then pass it as argument into Context or whatever structures you are using (which breaks no API). And yeah, |
My test indicates that multiple thread having own Context can work fine. Is v8py still running on 1 isolate? If yes, what is potential problem when multithreading with each thread having own Context? |
@kokhoor When I researched this I had too many issues. You'd have to lock/release the tl;dr Don't bother. |
Considering to migrate from
pyv8
, but not sure if this solution allows me to fire multiple Isolates in different threads.Does not sound like it does.
The text was updated successfully, but these errors were encountered: