Skip to content

Semaphore totally ignores its "acquiredPermits" parameter #1422

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
turing-tech opened this issue Aug 8, 2019 · 1 comment
Closed

Semaphore totally ignores its "acquiredPermits" parameter #1422

turing-tech opened this issue Aug 8, 2019 · 1 comment
Labels
Milestone

Comments

@turing-tech
Copy link
Contributor

turing-tech commented Aug 8, 2019

Passing any value to acquiredPermits has no effect. For example, the following code fails improperly:

val semaphore = Semaphore(1, aquiredPermits = 1)
semaphore.release()

PR to follow shortly

@turing-tech
Copy link
Contributor Author

#1423

@qwwdfsad qwwdfsad added the bug label Aug 8, 2019
@qwwdfsad qwwdfsad added this to the 1.3 milestone Aug 8, 2019
@qwwdfsad qwwdfsad closed this as completed Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants