Skip to content
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

enhancement: TimedWait should do a blocking wait #1

Open
pvbouwel opened this issue Nov 4, 2023 · 1 comment
Open

enhancement: TimedWait should do a blocking wait #1

pvbouwel opened this issue Nov 4, 2023 · 1 comment

Comments

@pvbouwel
Copy link

pvbouwel commented Nov 4, 2023

Nice library and seems to be close to what I need so thanks for opensourcing this.

Is there and particular reason the times wait doesn't use sem_timedwait? It seems the semantics of sem_timedwait are more interesting since and availability of the semaphore would be Picked up. With your golang implementation you try, wait and then try again but that means it is Lively you wait unnecessarily.

@pvbouwel
Copy link
Author

pvbouwel commented Nov 8, 2023

Let me know if you are interested in contributions. It would looks something along the lines of pvbouwel@939bc6d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant