Skip to content
Snippets Groups Projects
  1. May 11, 2018
  2. May 08, 2018
  3. May 04, 2018
  4. May 03, 2018
  5. May 02, 2018
    • Carl Lerche's avatar
      Fix some dependency versions (#337) · 8235eefb
      Carl Lerche authored
      8235eefb
    • Carl Lerche's avatar
      Bump version to v0.1.6 (#336) · 14b31bdb
      Carl Lerche authored
      14b31bdb
    • Carl Lerche's avatar
      Filesystem manipulation APIs. (#323) · f7681639
      Carl Lerche authored
      This patch adds a new crate: tokio-fs. This crate provides a wrapper
      around `std` functionality that can only be performed using blocking
      operations. This primarily includes filesystem operations, but it also
      includes standard input, output, and error access as these streams
      cannot be safely switched to non-blocking mode in a portable way.
      
      These wrappers call the `std` functions from within a `blocking`
      annotation which allows the runtime to compensate for the fact that the
      thread will potentially remain blocked in a system call.
      f7681639
    • Carl Lerche's avatar
      Remove `futures2` feature from Cargo.toml files (#334) · 7a2b5db1
      Carl Lerche authored
      Currently, the state of the futures2 integration is pretty broken. This
      patch removes the feature flag, preventing users from trying to use it.
      In the future, it can be brought back when the implementation is fixed.
      7a2b5db1
    • Roman's avatar
      Current thread runtime (#308) · 24654838
      Roman authored
      This patch introduces a version of `Runtime` that runs all components on
      the current thread. This allows users to spawn futures that do not implement
      `Send`.
      24654838
  6. May 01, 2018
  7. Apr 30, 2018
  8. Apr 28, 2018
  9. Apr 25, 2018
    • Sebastian Dröge's avatar
      Make CurrentThread::turn() more fair by always parking with 0 timeout… (#313) · 6ea00162
      Sebastian Dröge authored
      This ensures that all fd-based futures are put into the queue for the
      current tick, if the CurrentThread is parking via the Reactor.
      
      Otherwise, if there are queued up futures already, only those would be
      polled in the turn. These futures could then notify others/themselves to
      have the queue still non-empty on the next turn. Which then potentially
      allows the reactor to never be polled, and thus fd-based futures are
      never queued up and polled.
      
      Also return in the Turn return value whether any futures were polled at
      all, which allows the caller to know if any work was done at all in this
      turn and based on that adjust behavior.
      6ea00162
  10. Apr 15, 2018
    • Carl Lerche's avatar
      Threadpool blocking (#317) · 61d635e8
      Carl Lerche authored
      This patch adds a `blocking` to `tokio-threadpool`. This function serves
      as a way to annotate sections of code that will perform blocking
      operations. This informs the thread pool that an additional thread needs
      to be spawned to replace the current thread, which will no longer be
      able to process the work queue.
      61d635e8
  11. Apr 10, 2018
  12. Apr 09, 2018
  13. Apr 05, 2018
    • Carl Lerche's avatar
      Refactor threadpool task types (#300) · 3be6b69e
      Carl Lerche authored
      Replaces homegrown Arc with std Arc
      
      Is this safer? Unknown. At least we don't have to maintain an arc
      implementation anymore. This will also make it easier to filter out tsan
      false positives.
      
      Also split task/mod.rs into multiple files.
      3be6b69e
  14. Apr 04, 2018
  15. Apr 02, 2018
  16. Apr 01, 2018
  17. Mar 30, 2018
Loading