Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upIs it safe to use gpython interpreter in concurrent processing? #132
Comments
|
Gpython has no way of making threads (or go routines) yet. So I guess you are asking about making multiple instances of gpython? I think this should be fine but there may be some global state I'm forgetting about. In due course I'd like to add a create a go-routine function to gpython. From that point normal go style locking will need to be used to access dictionaries concurrently etc. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


I've noted that gpython is not support concurrent processing library yet. Is it safe if I use gpython in multi thread then? If not, how should I make it synchronized.