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

Thread safety in Gravity??? #66

Closed
RitamDey opened this issue Mar 11, 2017 · 3 comments
Closed

Thread safety in Gravity??? #66

RitamDey opened this issue Mar 11, 2017 · 3 comments

Comments

@RitamDey
Copy link

I just saw your repo and the first things that caught my attention were concurrent and scripting language. And the query is: Are threads implemented?? Are they OS native or VM native?? And how is thread safety implemented?? And the ever popular: Is there andy kind of Global Interpreter Lock??

@marcobambini
Copy link
Owner

Concurrent means that coroutines can be executed via fibers https://marcobambini.github.io/gravity/fibers.html
It is cooperative threading, preemptive threading is not yet implemented.

@RitamDey
Copy link
Author

In other language async concurrent programming is implemented but threading in the traditional sense is still not implemented??

N.B: Sorry, I am still a beginner

@marcobambini
Copy link
Owner

Well, it really depends on the language but generally speaking it is problem that can be solved adding a lot of complexity to the code base. In the future we could add async calls to Gravity but we have others priorities now.

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

2 participants