Home
last modified time | relevance | path

Searched refs:shared_int (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/libc/test/src/threads/
Dmtx_test.cpp21 static int shared_int = START; variable
27 if (shared_int == last_count + 1) { in counter()
28 shared_int++; in counter()
29 last_count = shared_int; in counter()
50 if (shared_int == START) { in TEST()
51 ++shared_int; in TEST()
52 last_count = shared_int; in TEST()
53 } else if (shared_int != last_count) { in TEST()
54 ASSERT_EQ(shared_int, last_count + 1); in TEST()
55 ++shared_int; in TEST()
[all …]