File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,27 @@ This uses the Windows AFD system to access socket readiness events.
160
160
[ issue #1152 ] : https://github.com/tokio-rs/mio/issues/1152
161
161
[ issue #1444 ] : https://github.com/tokio-rs/mio/issues/1444
162
162
163
+ ## Unsupported flags
164
+
165
+ Mio uses different implementations to support the same functionality dependening
166
+ on the platform. Mio generally uses the "best" implementation possible, where
167
+ "best" usually means most efficient for Mio's use case. However this means that
168
+ the implementation is often specific to a limited number of platforms, meaning
169
+ we often have multiple implemetations for the same functionality. In some cases
170
+ it might be required to not use the "best" implementation, but another
171
+ implementation Mio supports (on other platforms). ** Mio does not officially
172
+ support secondary implementations on platforms** , however we do have various cfg
173
+ flags to force another implementation for these situations.
174
+
175
+ Current flags:
176
+ * ` mio_unsupported_force_poll_poll ` , uses an implementation based on ` poll(2) `
177
+ for ` mio::Poll ` .
178
+ * ` mio_unsupported_force_waker_pipe ` , uses an implementation based on ` pipe(2) `
179
+ for ` mio::Waker ` .
180
+
181
+ ** Again, Mio does not officially supports this** . Furthermore these flags may
182
+ disappear in the future.
183
+
163
184
## Community
164
185
165
186
A group of Mio users hang out on [ Discord] , this can be a good place to go for
You can’t perform that action at this time.
0 commit comments