Skip to content

Commit

Permalink
fix description of shares behavior
Browse files Browse the repository at this point in the history
Fixes #615
  • Loading branch information
glommer committed Oct 15, 2023
1 parent b0eb0e2 commit a3d9d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glommio/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a3d9d22

Please sign in to comment.