Skip to content

Instantly share code, notes, and snippets.

@olsonjeffery
Last active December 19, 2015 13:19
Show Gist options
  • Save olsonjeffery/5961159 to your computer and use it in GitHub Desktop.
Save olsonjeffery/5961159 to your computer and use it in GitHub Desktop.
notes for newsched work
https://github.com/mozilla/rust/issues/6435
14:05 < ecr> olsonjeffery: it'd involve
- designing an RtioTimer interface in std::rt::rtio.rs,
- implementing Timer in std::rt::io on top of it,
- implementing RtioTimer for TimerWatcher in std::rt::uv::uvio.rs
14:09 < ecr> olsonjeffery: and you might want to look at the libuv timer interface as well to see if there's any additional functionality that still needs bindings (which would
give you the bottom layer of newsched I/O in std::rt::uv::uvll.rs).
14:12 <ecr> if I'm not responding in IRC, try email ([email protected]).
--------------------------------
12:07 <@brson> olsonjeffery: in #6855 we want to make it so that it's possible for Tasks to be backed by pthreads, not green threads. so for #4770 we would want to have rt::comm
(newsched pipes) able to change the way it does synchronization based on the type of Task it's interacting with. I don't think though that it would use a trait for
this because the behavior is very dynamic - e.g. pipes can be sent from green threads to non-green threads
13:48 <@brson> olsonjeffery: #6164 #6846 #6168 #4248 #6210 #6167 #5021 #6844 #1226 are all important and not (very) blocked on things. a lot of them involve implementing new I/O
types. this thread contains descriptions of the most pressing issues: https://mail.mozilla.org/pipermail/rust-dev/2013-May/004305.html
13:49 <@brson> olsonjeffery: there's also porting various concurrency types that i haven't looked at, mostly in extra::sync and extra::arc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment