Lines Matching refs:value
20 /* This test spawns two threads on distinct cpu-cores that pass a value
22 * Thread "left" continuously increments a value and writes its contents to memory.
23 * Thread "right" continuously reads the value and checks whether it was incremented.
71 size_t value = 0;
75 memcpy(&value, io->memory, sizeof(value));
77 ck_assert_uint_eq(value, expect);
85 size_t value = 0;
89 memcpy(io->memory, &value, sizeof(value));
91 ++value;