diff --git a/glommio/src/lib.rs b/glommio/src/lib.rs index af4e41a3b..ee2f237f9 100644 --- a/glommio/src/lib.rs +++ b/glommio/src/lib.rs @@ -107,7 +107,7 @@ //! //! This example creates two task queues: `tq1` has 2 shares, `tq2` has 1 share. //! This means that if both want to use the CPU to its maximum, `tq1` will have -//! `1/3` of the CPU time `(1 / (1 + 2))` and `tq2` will have `2/3` of the CPU +//! `2/3` of the CPU time `(2 / (1 + 2))` and `tq2` will have `1/3` of the CPU //! time. Those shares are dynamic and can be changed at any time. Notice that //! this scheduling method doesn't prevent either `tq1` no `tq2` from using 100% //! of CPU time at times in which they are the only task queue running: the