summaryrefslogtreecommitdiff
path: root/tests/stdatomic_test.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2019-07-17 10:45:18 -0700
committerTom Cherry <tomcherry@google.com>2019-07-17 10:46:47 -0700
commit800c1a97079c22d0c0d5dd35168916a298e5cd86 (patch)
tree053b71b7b926464cc2d04b0dd397139d79394476 /tests/stdatomic_test.cpp
parent59cc0b314205c905645dbf75b57a1b944ca9673a (diff)
Fix pthread_cond_clockwait() when cond is initialized with CLOCK_MONOTONIC
A bit of over-reliance on implementing pthread_cond_clockwait() in terms of existing functions ended up with a bug that if the condition variable was initialized to use CLOCK_MONOTONIC, then pthread_cond_clockwait() would do the wrong thing. This change corrects that and adds a test for this case. Test: new and existing tests pthread_cond unit tests Change-Id: I708d5dfbef95a67678db56dceda011f2f8fd1c5c
Diffstat (limited to 'tests/stdatomic_test.cpp')
0 files changed, 0 insertions, 0 deletions