|
|
|
|
|
by wtallis
1940 days ago
|
|
> I am somewhat biased but I would recommend that every time you consider something lockless, consider using lock elision/HTM instead Intel shipped two generations of processors with broken TSX before getting it right, and then timing attacks seriously called into question whether it was a safe feature to use in practice. Then Intel dropped it from their first post-Skylake microarchitecture products, though it looks like they're still planning to support it on their next generation of server CPUs. Is it really worth the trouble at this point? |
|
How much confidence do you have in your lockless code?