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

Port 'SignalMechanism' from 'Semaphore' to POSIX 'ConditionVariable' where possible #209

Open
elBoberido opened this issue Apr 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@elBoberido
Copy link
Member

Brief feature description

The Semaphore supports only CLOCK_REALTIME, which has issues when the system time is changed. The POSIX ConditionVariable has an attribute to specify the clock and also accepts CLOCK_MONOTONIC.

On Systems that support POSIX condition variables, those should be used with the CLOCK_MONOTONIC instead of the Semaphore in combination with the AdaptiveWait.

@elBoberido elBoberido added the enhancement New feature or request label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant