-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add _thread.start_new_thread #1936
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
Conversation
5df519d
to
94dccb3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. Can you add a small snippet to see this running?
|
94dccb3
to
a6f6b1a
Compare
a6f6b1a
to
d12a793
Compare
@palaviv I was actually able to get |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. I missed that there are already tests for this.
vm/Cargo.toml
Outdated
@@ -71,7 +71,7 @@ smallbox = "0.8" | |||
bstr = "0.2.12" | |||
crossbeam-utils = "0.7" | |||
generational-arena = "0.2" | |||
parking_lot = { git = "https://github.com/Amanieu/parking_lot" } | |||
parking_lot = { git = "https://github.com/coolreader18/parking_lot", branch="raw-re-is_locked" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was a bit iffy when we added the parking_lot
from Github. For now at least add a TODO to change this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was just temporary, the PR for that is merged now. I'll still add a TODO for the official git version, though, hopefully that will be published on crates.io soon.
d12a793
to
90223d8
Compare
Dependent on #1933 and #1935