1. 22 Apr, 2019 1 commit
  2. 24 Dec, 2018 30 commits
  3. 20 Dec, 2018 1 commit
  4. 30 Nov, 2018 2 commits
  5. 29 Nov, 2018 1 commit
  6. 28 Nov, 2018 2 commits
    • Povilas Balciunas's avatar
      Fix TcpListener example (#886) · 9ec8e001
      Povilas Balciunas authored
      In real world we will register TcpListener for readable events. Let's make example
      reflect that as well.
      9ec8e001
    • Povilas Balciunas's avatar
      Incorporate lazycell (#887) · 0379dc43
      Povilas Balciunas authored
      * Integrate lazycell 1.2.0 into the project
      
      ...rather than getting it from the crates.io. The problem is that latest
      lazycell doesn't work with rust 1.18.0 anymore that mio supports.  This
      commit only adds the origincal lazycell.rs without any modifications.
      I want commits to show the changes I made to the lazycell.rs 1.2.0.
      
      * Fix lazycell to work with rust 1.18.0
      
      * Removed example, which wouldn't compile, because lazycell wasn't detected.
      * Simply use std instead of libcore.
      * Removed associated constant, which is still an experimental feature in
        rust 1.18.0.
      
      * Fix android builds
      
      * Delete doc examples for deprecated code
      0379dc43
  7. 05 Sep, 2018 3 commits
    • Carl Lerche's avatar
      Bump version to v0.6.16 (#876) · 50c4af5c
      Carl Lerche authored
      50c4af5c
    • Carl Lerche's avatar
      Reduce spurious awaken calls (#875) · 8e725c0d
      Carl Lerche authored
      When a registration is signalled from a side thread and the main thread
      is blocke in `poll`, a pipe is used to interrupt the blocked `poll`
      call. However, this pipe write is expensive and should only be made when
      `poll` is blocked.
      
      To avoid spurrious calls, the readiness queue tracks a `sleep_token`.
      When a node is scheduled, it checks if the `sleep_token` is present. If
      it is, it writes to the pipe to wake up the main thread.
      
      Currently, the `sleep_token` isn't cleared when the blocking call to
      `poll` wakes up naturally. This results in the next registration signal
      to write to the pipe even though the main thread is not blocked.
      
      This patch clears the `sleep_token` when the blocking call returns.
      
      Fixes #785
      8e725c0d
    • Roman's avatar
      Fix building docs on nightly. (#861) (#874) · 152893c4
      Roman authored
      152893c4