Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
mistercow
1y ago
0 comments
Share
I’ve written tests to do exactly that, by adding carefully placed locks that allow the test to control the pace at which each thread advances. It’s not
fun
but you can do it.
0 comments
default
newest
oldest
magoghm
1y ago
Doesn't inserting locks affect the memory hierarchy consistency mechanisms and therefore interfere with possible race conditions?
mistercow
OP
1y ago
That’s not a situation I’ve encountered but “race condition” is an extremely broad category.
j
/
k
navigate · click thread line to collapse