1. 24 Dec, 2018 4 commits
  2. 20 Dec, 2018 1 commit
  3. 30 Nov, 2018 2 commits
  4. 29 Nov, 2018 1 commit
  5. 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
  6. 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
  7. 21 Aug, 2018 3 commits
  8. 20 Aug, 2018 1 commit
  9. 05 Jul, 2018 1 commit
  10. 03 Jul, 2018 2 commits
  11. 22 Jun, 2018 2 commits
  12. 25 Apr, 2018 4 commits
  13. 04 Apr, 2018 1 commit
    • Alan Somers's avatar
      Misc test fixes discovered on FreeBSD (#829) · c419ed6e
      Alan Somers authored
      All of these issues could theoretically affect any operating system,
      especially the duplicate port assignment.
      
      * Fix a port mismatch in TcpStream doc test
      * Fix a duplicate port assignment in another tcp doc test
      * Better debuggabilty in test_close_on_drop
      * Don't fail connect_error if connect(2) fails synchronously
      c419ed6e
  14. 08 Mar, 2018 4 commits
  15. 07 Mar, 2018 1 commit
    • Carl Lerche's avatar
      Add `Ready::all` as well as `usize` conversions. (#825) · 6bdfdba0
      Carl Lerche authored
      This patch provides a new constructor for `Ready` that returns a
      value representing readiness for all operations. This is useful for
      registering interest on all operations or for using the value as a mask.
      
      This patch also provides `usize` conversions for `Ready`. This allows
      storing and loading a `Ready` value in an `AtomicUsize`.
      6bdfdba0
  16. 26 Feb, 2018 2 commits
  17. 12 Feb, 2018 1 commit
  18. 06 Feb, 2018 1 commit
  19. 05 Feb, 2018 1 commit
    • Alan Somers's avatar
      Fix the tests in FreeBSD jails (#815) · 39cfd6a0
      Alan Somers authored
      In a shared-IP FreeBSD jail, "127.0.0.1" is just an alias for the jail's
      IP, causing the net::udp::UdpSocket::local_addr test to fail.  Disable
      that test on FreeBSD.
      39cfd6a0
  20. 30 Jan, 2018 2 commits
  21. 26 Jan, 2018 1 commit