Skip to content

Changed default infinite timeout to be -1 instead of 0. #126

Merged
accelerated merged 1 commit intobloomberg:masterfrom
accelerated:timeout
Mar 6, 2020
Merged

Changed default infinite timeout to be -1 instead of 0. #126
accelerated merged 1 commit intobloomberg:masterfrom
accelerated:timeout

Conversation

@accelerated
Copy link
Copy Markdown
Contributor

Changes

  • Changed default infinite timeout to be -1 instead of 0. 0 behaves as if no timeout was specified i.e. times out immediately.
  • Updated ConditionVariable::waitFor() to match more closely the STL behavior.

Signed-off-by: Alexander Damian adamian@bloomberg.net

…tionVariable::waitFor() to match more closely the STL behavior.

Signed-off-by: Alexander Damian <adamian@bloomberg.net>
@accelerated accelerated merged commit c47da2c into bloomberg:master Mar 6, 2020
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

Successfully merging this pull request may close these issues.

2 participants