top | item 44481258

(no title)

khold_stare | 7 months ago

In trading all threads are pinned to a core, so that scenario doesn't happen.

discuss

order

foobar10000|7 months ago

Yeap!

Also - all modern systems in active use have invariant tsc. So even for migrating threads - one is ok.

elteto|7 months ago

You could still have a receiving thread and a sending thread for example, so it’s not as simple.

But googling suggests that if the CPU has the invariant_tsc flag then it’s not a problem, as foobar mentions.