Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/tokio-rs/mio
Metal I/O library for Rust.
https://github.com/tokio-rs/mio
c3da665c0ffa4ac1eede7d41ac3f3fa32fde91d5 authored almost 5 years ago by Thomas de Zeeuw <[email protected]>
Doesn't work on Windows.
53a8af18bce2ede93c39ac4bee13c5a995021822 authored almost 5 years ago by Thomas de Zeeuw <[email protected]>de30449eada74292ac5cb6889a03177eadd4f27a authored almost 5 years ago by Thomas de Zeeuw <[email protected]>
pair, local_addr and peer_addr did the same thing for UnixDatagram and
UnixStream. Now they use ...
906fc66778660638355542971202a687f856f619 authored almost 5 years ago by Thomas de Zeeuw <[email protected]>
3d5523d047ad31eaf9de726b230fceda8c85c687 authored almost 5 years ago by Thomas de Zeeuw <[email protected]>
813702374da18146ce56bd4dad63029e1f8f5eef authored almost 5 years ago by Thomas de Zeeuw <[email protected]>
71ed7a67bbf239db11fb2d46c88ac82760b96281 authored almost 5 years ago by Thomas de Zeeuw <[email protected]>
3f0bb2fb1ce64a5b5a90f22a3f0cc5dc88ccc4d5 authored almost 5 years ago by Thomas de Zeeuw <[email protected]>
e7578e54b4cd22107e4c0228fd62a4a70e5556e1 authored almost 5 years ago by Thomas de Zeeuw <[email protected]>
95ff7755faba0924a7e3fa47d9d1dfd3e14b12d0 authored almost 5 years ago by Thomas de Zeeuw <[email protected]>
807b9cd6829c06a3f835e45c51be408dbcd2691f authored almost 5 years ago by Thomas de Zeeuw <[email protected]>
The types and traits from the bytes crate were only used in two tests
for the UdpSocket. But a V...
This prevents wrapper types to implement DerefMut and event::Source,
while the inner type also i...
815b594d55de07065b7bc058f4690eeb904a46d4 authored almost 5 years ago by Thomas de Zeeuw <[email protected]>
IoSource is a wrapper around a raw file descriptor or socket that
implements event::Source.
Rather then mutable reference.
36630c51ac67e20da20611baac9a436c7590aef4 authored almost 5 years ago by Thomas de Zeeuw <[email protected]>942b34143ff914f0d54a50213c0b675ca767a6a1 authored almost 5 years ago by Thomas de Zeeuw <[email protected]>
The problem is quite subtle. The lock on update_queue was being held by
the call to add the sock...
52f3f3ef934acc0f27ed3ddc641e4a6462461c19 authored almost 5 years ago by Thomas de Zeeuw <[email protected]>
It needs the (re/de)register methods on IoSourceState.
04280eaf704af2588b559d6300892e03b4843145 authored almost 5 years ago by Thomas de Zeeuw <[email protected]>b5aa439be701f685bb4e0e03b740c1c52840dcb2 authored almost 5 years ago by Thomas de Zeeuw <[email protected]>
746be494d85551af743ef9e5aa1263668bdcbd29 authored almost 5 years ago by Thomas de Zeeuw <[email protected]>
Using INVALID_SOCKET as i32 was invalid as INVALID_SOCKET had the
maximum value a 64 bit integer...
tempdir is being deprecated and merged with the tempfile crate. But
instead of reviewing another...
Signed-off-by: Kevin Leimkuhler <[email protected]>
c6143bc3d5b42f066eda01727e13a006950e3a33 authored about 5 years ago by Kevin Leimkuhler <[email protected]>Added a test to check register ops done during a pending poll.
Signed-off-by: Daniel Tacalau ...
c165a9dd8f1fe2f6ddaa1e5864d79619626a3371 authored about 5 years ago by Tacalau Daniel Stefan <[email protected]>Added a test to verify cancelling pending poll requests works as expected.
Test will register...
2225aa67841158e531a1d1ba4dacf49230868791 authored about 5 years ago by Tacalau Daniel Stefan <[email protected]>Signed-off-by: Kevin Leimkuhler <[email protected]>
194f428fc37884cfb4aa5c0b1b574c440d3b2a45 authored about 5 years ago by Kevin Leimkuhler <[email protected]>95bfa8b09caf57a13c264f418280b69a76bbaea5 authored about 5 years ago by Alex Touchet <[email protected]>
79a64241ff0e0062012eea0f15d8b8b42a8efad1 authored about 5 years ago by Thomas de Zeeuw <[email protected]>
Signed-off-by: Kevin Leimkuhler <[email protected]>
843f1dbca771589d4c926056ab4a0e947bf526da authored about 5 years ago by Kevin Leimkuhler <[email protected]>360b3fc2a23ec606617c0dc4c30d4a2f4568ff32 authored about 5 years ago by Tacalau Daniel Stefan <[email protected]>
Signed-off-by: Kevin Leimkuhler <[email protected]>
3ebce3e276f58126c25bdf9b606fe4676c0013c1 authored about 5 years ago by Kevin Leimkuhler <[email protected]>Signed-off-by: Daniel Tacalau <[email protected]>
ee38679cf1e6da36309a0d29f1e2f73395ecd8d0 authored about 5 years ago by Daniel Tacalau <[email protected]>* added specific tests for Events:: methods
Signed-off-by: Daniel Tacalau <[email protected]>
aad15e0386215d713cfe952c1183337829addffa authored about 5 years ago by Tacalau Daniel Stefan <[email protected]>Signed-off-by: Daniel Tacalau <[email protected]>
a5c5e0ca29bbc0cb7303ddeac27f8e6825c1a240 authored about 5 years ago by Tacalau Daniel Stefan <[email protected]>## Motivation
Closes #1118
Mio should be as light as possible and forwards compatible to o...
0ba2ed8bb1e3af999024653d587b9c25f8d4b57c authored about 5 years ago by Kevin Leimkuhler <[email protected]>Two notes saying it is:
* undefined behavior to register with another poll instance a deregis...
961351e0fca52bfbccb45266e51f20a7e45a1393 authored about 5 years ago by Tacalau Daniel Stefan <[email protected]>e89eb813224bba1b54189df95cb65cb4d1bc242e authored about 5 years ago by Tacalau Daniel Stefan <[email protected]>
Signed-off-by: Daniel Tacalau <[email protected]>
ad3987812e842f36511da465ce7c2f08b7345dc7 authored about 5 years ago by Daniel Tacalau <[email protected]>Signed-off-by: Daniel Tacalau <[email protected]>
17a65f037388219bff21bbf263ea02976c112578 authored about 5 years ago by Daniel Tacalau <[email protected]>Signed-off-by: Daniel Tacalau <[email protected]>
276bc90af7422a39f2c2d9180a8cf1a547fb4aca authored about 5 years ago by Daniel Tacalau <[email protected]>Signed-off-by: Daniel Tacalau <[email protected]>
531c01af98a053271dc55b1f19987e56f455aac7 authored about 5 years ago by Daniel Tacalau <[email protected]>
From the unix module. Even though its a Unix only type it should be
located with the UDS types ...
Signed-off-by: Daniel Tacalau <[email protected]>
61fb0f0ff2b2115bcc33081fdd4a707ea2c1630f authored about 5 years ago by Daniel Tacalau <[email protected]>tests were also removed) This api had several limitations . More details in
issue #1074.
On Unix...
634679f79bac80cad44d6407a787f8a5da5e6341 authored about 5 years ago by Daniel Tacalau <[email protected]>
This method had several limitations. try_clone was just a dup, so the behavior
depended on the ...
No longer needed as event::Source's method now take a mutable reference.
0a55a121f0a2646376e062a2ecbbdf3f03902598 authored about 5 years ago by Thomas de Zeeuw <[email protected]>
Generally speaking event source shouldn't concurrently need to be
(re/de)-registered. Even thoug...
dac87744817c5c2e48f54eebc8b2fae1798843d1 authored about 5 years ago by Thomas de Zeeuw <[email protected]>
Revert reregistering on partial read/write for TcpStream, introduced in #1137.
Also reverts rer...
52047c14ab2f9b62f422a0e030d68136b15bcbc3 authored about 5 years ago by Thomas de Zeeuw <[email protected]>
Signed-off-by: Daniel Tacalau <[email protected]>
f367b0e768498ccf2471e695077fba4a5c950c63 authored about 5 years ago by Daniel Tacalau <[email protected]>Signed-off-by: Daniel Tacalau <[email protected]>
99256d7dce63c7999685d321cc6bcd02296920a7 authored about 5 years ago by Daniel Tacalau <[email protected]>Signed-off-by: Daniel Tacalau <[email protected]>
bbbd09ef2168432791c978e89aa9061f96879de0 authored about 5 years ago by Daniel Tacalau <[email protected]>Signed-off-by: Daniel Tacalau <[email protected]>
5ed0fca079ebf702752ad8d7aeec8035dbbec8fe authored about 5 years ago by Daniel Tacalau <[email protected]>* fixed assert arguments order
Signed-off-by: Daniel Tacalau <[email protected]>
* fix issue #...
8603167358f78740f52d99691cd2c8419c42edd0 authored about 5 years ago by Tacalau Daniel Stefan <[email protected]>
A reference of the sock state Arc is blocked by a pending AFD poll
request, this reference will ...
5554b23be34cae7d0ab3a0aa26a556791d99d014 authored about 5 years ago by Thomas de Zeeuw <[email protected]>
6707055e67e9dae35207a0fd5d2bec3cfb79a8d8 authored about 5 years ago by Bert Belder <[email protected]>
22662cbe6dba4258bbea44afb893c4159547d02b authored about 5 years ago by Thomas de Zeeuw <[email protected]>
Port 13265 was a bit odd, 9000 is more common in examples.
15f7ee025b0864c2109f833c539cf6dbb91f8bda authored about 5 years ago by Thomas de Zeeuw <[email protected]>db2597a6a778aef9c5aa98c3a9fa84a3e2f545a5 authored about 5 years ago by Thomas de Zeeuw <[email protected]>
Changes the structure a bit to match the TCP server example. Enables
logging and prints how the ...
Disallows even more things!
6ac0460151adbd58a397d130f2df025efad754fa authored about 5 years ago by Thomas de Zeeuw <[email protected]>039b09c212e08f2984239a2faac813ca5fe46f59 authored about 5 years ago by Thomas de Zeeuw <[email protected]>
Its part of the macro, so that Partial::eq can be used.
159a0a30918034b523f975880083233a3d49fdff authored about 5 years ago by Thomas de Zeeuw <[email protected]>
This adds a new virtual field named "details" and exposes the selector
specific event structure....
To emulate edge-triggers.
81b4f6c4e6788e1e6e43e725f5e72d3354ed2667 authored about 5 years ago by Thomas de Zeeuw <[email protected]>The unwrap_err function has the same effect.
edbb471b3a4efc1f1bb323b5be4c1621a9977468 authored about 5 years ago by Thomas de Zeeuw <[email protected]>
Some places checked the return value after a write, but all. This ensure
that all write, send an...
Removing expect_readiness completely. It didn't use the token so it was
unclear what event shoul...
The unwrap function has the same effect.
c3738ac8ab0ffea8fff5e04c7e2ce6319dd0e778 authored about 5 years ago by Thomas de Zeeuw <[email protected]>7e416656523a05f5599c7bc01a454789ac5c7786 authored about 5 years ago by Thomas de Zeeuw <[email protected]>
d594cd8a07e4cec27478ea044c595acb94aa3dd5 authored about 5 years ago by Thomas de Zeeuw <[email protected]>
This also removes the echo_server test from the tcp module. All
functionality is tested elsewher...
Testing macro that calls read/recv/peek or recv_from/peek_from and
checks if the received bytes ...
Used in the ExpectEvent structure.
1d43c323c17e30cc7a3d811fe6875d2d38aba331 authored about 5 years ago by Thomas de Zeeuw <[email protected]>3937c09376f3d0d5b8d67b96061b3e0bb6a54b13 authored about 5 years ago by Thomas de Zeeuw <[email protected]>
Thing like the features, non-goals and platforms are moved to the README
in an effort to reduce ...
This new feature adds additional documentation in the form of a user
guide.
e668a741a6562f37f44238fe202643156cd90bed authored about 5 years ago by Thomas de Zeeuw <[email protected]>
3641f3fe7d52375071465dc4e57bcc53f24386bd authored about 5 years ago by Thomas de Zeeuw <[email protected]>
Make sure to reregister on successful accept, otherwise READABLE interest won't be generated on ...
7a073b62e5a4609ba491e63a4b25d0f1ef65d3ce authored about 5 years ago by Tacalau Daniel Stefan <[email protected]>There's no need for poll to wait the full timeout, according to documentation the poll function ...
bbd82672ab5adab7cd68e765810d1d1809b90c46 authored about 5 years ago by Tacalau Daniel Stefan <[email protected]>
For Event is was needed to safety create a pointer to the internal
system event, but this is no ...
A few issues have been opened related to the recently added UDS resources. The
issues are all b...
#1141 Addressed an issue with `UnixStream::pair` and `UnixDatagram::pair`
where the file descri...
952932aee7faeee2d28b3f9d8fac3a97192da164 authored about 5 years ago by Thomas de Zeeuw <[email protected]>
Hopefully this will be useful when porting Mio to another OS or selector
(io_uring anyone?).
No longer true.
074285beae3b48f6f4c0c37d8304659205648792 authored about 5 years ago by Thomas de Zeeuw <[email protected]>8490ad0aa0ceddc707baf122dc56654e0f29084d authored about 5 years ago by Thomas de Zeeuw <[email protected]>
And replace it with the try (`?`) operator.
1835c52b4b42835cc31329957a27bfc9c55a53a4 authored about 5 years ago by Thomas de Zeeuw <[email protected]>
Don't advocate calling Events::clear before calling Poll::poll as that
is not needed.
Not an interesting example. Furthermore we don't guarantee that the size
of Interests will alway...
Since it is not possible to modify or synchronously cancel an
IOCTL_AFD_POLL operation, and ther...
This took me a while to figure out. The original symptom I saw was
that registering `UnixStrea...
888a1842afefaaee209407f8591a70e99011709d authored about 5 years ago by Mario Lang <[email protected]>
45c9f7ea7e8b3167317cfb34dfc2adaa1b43aa1d authored about 5 years ago by Mario Lang <[email protected]>