Commit Graph
30 Commits
Author SHA1 Message Date
Alex Crichton 7c4bac5166 Fix a few more timer wheel bugs 2016-08-09 22:13:50 -07:00
Alex Crichton 681316dfa1 Fix link in mio README 2016-08-08 23:20:05 -07:00
Alex Crichton 00daa2ca23 Add lots of README files 2016-08-08 23:18:49 -07:00
Alex Crichton 68103727f1 Use the dev branch of mio 2016-08-08 13:22:16 -07:00
Alex Crichton bfe91f9f36 Remove the executable bit on a file 2016-08-08 11:44:16 -07:00
Alex Crichton 8d73133907 write-then-drop is now upstream 2016-08-08 11:00:04 -07:00
Alex Crichton 4380e42587 More info and more READMEs 2016-08-05 16:21:56 -07:00
Alex Crichton 164193fe82 Add a method to add data to an event loop directly
Avoids Send entirely
2016-08-05 15:58:14 -07:00
Alex Crichton 8daac0347d Fix up a few edge cases on the timer wheel 2016-08-05 14:02:27 -07:00
Alex Crichton d2bb8e01fd Implement Sync for LoopData
It's already Sync because it's safe to access amongst many threads by the sheer
fact that data is only accessed on one thread. That is, all other concurrent
accessors, if any, will receive `None`.
2016-08-05 14:01:36 -07:00
Alex Crichton 5b18514970 Add some assorted debug messages 2016-08-05 14:01:24 -07:00
Alex Crichton 42a0a10294 Set the CURRENT_LOOP for processing messages
This ensures that timeouts and callbacks are run with the TLS var set
2016-08-05 14:00:59 -07:00
Alex Crichton 304914b707 Start brushing up io/mio docs 2016-08-05 09:53:50 -07:00
Alex Crichton 8eb1f681af Don't export the timer_wheel module
Move tests into that module
2016-08-05 09:44:00 -07:00
Alex Crichton 368a9c70e8 Fix RefCell borrow_mut error on firing timeouts
The scope was a little longer than intended!
2016-08-05 09:38:41 -07:00
Alex Crichton 5d0fdf26a9 Fix compile of minihttp on stable 2016-08-05 09:25:40 -07:00
Alex Crichton e7f4313cf4 Implementing LoopData
This type acts for a handle to storage of non-`Send` data. The handle itself is
sendable across threads and is therefore suitable for storage in a `Future`.
This data uses communication internally and a new method on `Task` to ensure
that when the data needs to be accessed the future will find its way to the
right thread.

More on this type coming soon!
2016-08-04 20:34:54 -07:00
Alex Crichton 04bd33e390 Add AsRawFd where possible 2016-08-04 12:51:49 -07:00
Alex Crichton 5f9185ef4c Fix timer wheel tests 2016-08-03 23:38:32 -07:00
Alex Crichton 5c9daad88b Add a timer wheel 2016-08-03 22:57:07 -07:00
Alex Crichton 1d7098eece Add a simple UDP test 2016-08-02 23:56:01 -07:00
Alex Crichton c458e23940 Add a few more TCP methods 2016-08-02 22:52:01 -07:00
Alex Crichton 260255e674 Add UDP sockets 2016-08-02 22:49:58 -07:00
Alex Crichton 1b07e91834 Actually do what EventLoop::deschedule says 2016-08-02 10:39:06 -07:00
Alex Crichton 79760da66c Remove DropSource from mio
I'm... not sure if it does anything any more as a `ReadinessStream` isn't
clone-able nor is it split. As a result, I don't think we need it.
2016-08-02 10:37:32 -07:00
Alex Crichton 5970203b21 Finish docs on futures-mio
Also remove mio BufReader/BufWriter for now, they should come back shortly
though
2016-08-01 17:41:58 -07:00
Alex Crichton 7ffe72dc73 Add docs to futures-io crate 2016-08-01 17:30:56 -07:00
Alex Crichton b47b9f5398 Remove README descriptions where not present 2016-07-31 13:58:38 -07:00
Alex Crichton 192579d62a Add some descriptions 2016-07-31 13:55:04 -07:00
Alex Crichton bc64194be1 Let's rename everything! 2016-07-30 22:50:58 -07:00