Skip to content

Commit f86ba11

Browse files
Tensorstore Teamcopybara-github
authored andcommitted
No public description
PiperOrigin-RevId: 812249655 Change-Id: Ia5707bfa406ddfa2a244bcc11a78a68deb2142a4
1 parent ef3a932 commit f86ba11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tensorstore/internal/testing/concurrent_test.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ TEST(TestConcurrent, EnsureContentionHappens) {
4343
/*initialize=*/[&] {},
4444
/*finalize=*/[&] {}, //
4545
[&](auto) {
46-
if (lock.TryLock()) {
46+
if (lock.try_lock()) {
4747
uncontended++;
48-
lock.Unlock();
48+
lock.unlock();
4949
}
5050
});
5151
int contended = (kIterations * kN) - uncontended;

0 commit comments

Comments
 (0)