Replies: 1 comment 1 reply
-
See #4446 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Im wondering if this is something the Tokio team has considered or has an explantation for, as I think it would be useful to be allowed to attempt to acquire up to
usize
permits.For instance if the semaphore represents the total RAM on a machine, then you can only acquire up to ~4Gb at a time. I dont really see an explnation in the code for this and I notice that the ll::semaphore internally accepts
usize
args.Beta Was this translation helpful? Give feedback.
All reactions