-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Threadsafe futures #1514
Threadsafe futures #1514
Commits on Jul 16, 2019
-
Configuration menu - View commit details
-
Copy full SHA for d1d3021 - Browse repository at this point
Copy the full SHA d1d3021View commit details -
Configuration menu - View commit details
-
Copy full SHA for c01575c - Browse repository at this point
Copy the full SHA c01575cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fdfe79 - Browse repository at this point
Copy the full SHA 2fdfe79View commit details -
Configuration menu - View commit details
-
Copy full SHA for e466e1a - Browse repository at this point
Copy the full SHA e466e1aView commit details -
moved threadsafe futures implementation to a separate file, made upda…
…tes after review
Configuration menu - View commit details
-
Copy full SHA for 16c6bdc - Browse repository at this point
Copy the full SHA 16c6bdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06c783d - Browse repository at this point
Copy the full SHA 06c783dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 221dc73 - Browse repository at this point
Copy the full SHA 221dc73View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ab1a49 - Browse repository at this point
Copy the full SHA 6ab1a49View commit details -
Configuration menu - View commit details
-
Copy full SHA for cbaa1d3 - Browse repository at this point
Copy the full SHA cbaa1d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45d2c7c - Browse repository at this point
Copy the full SHA 45d2c7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 02be369 - Browse repository at this point
Copy the full SHA 02be369View commit details
Commits on Jul 18, 2019
-
Emit a compiler error with futures 0.3 and atomics
Not implemented yet, and the one there doesn't work with atomics! (we'll get around to this soon-ish)
Configuration menu - View commit details
-
Copy full SHA for d122bbc - Browse repository at this point
Copy the full SHA d122bbcView commit details -
Update parallel raytrace example to use futures
Use the atomics support now implemented!
Configuration menu - View commit details
-
Copy full SHA for 9f77f8d - Browse repository at this point
Copy the full SHA 9f77f8dView commit details -
Clean up atomics/futures + polyfill
* Remove now-unneeded `State` enum * Remove timeout argument from polyfill since we don't need it * Call `Atomics.waitAsync` if it's available instead of using our polyfill * Remove some extraneous dead code from the polyfill * Add a `val: i32` argument to the polyfill * Simplify the flow of futures with `Package` since `waitAsync` handles all the heavy lifting for us. * Remove `Arc<Package>` and just use `Package` * Remove `RefCell` from inside of `Package` now that it is no longer needed.
Configuration menu - View commit details
-
Copy full SHA for cde9684 - Browse repository at this point
Copy the full SHA cde9684View commit details -
Deduplicate
JsFuture
definitionsTurns out it's the exact same for both before and after atomics, so let's use the same definition!
Configuration menu - View commit details
-
Copy full SHA for d590a9e - Browse repository at this point
Copy the full SHA d590a9eView commit details -
* Use "legacy" instead of "stable" since `futures 0.1` is quicly becoming "legacy" * Rename "atomics" to "legacy_atomics" to leave room for the libstd-based futures atomics version. * Rename "polyfill" to "wait_async_polyfill" to specify what it's polyfilling.
Configuration menu - View commit details
-
Copy full SHA for c8451d6 - Browse repository at this point
Copy the full SHA c8451d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for be294c8 - Browse repository at this point
Copy the full SHA be294c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for b13f757 - Browse repository at this point
Copy the full SHA b13f757View commit details