Remix.run Logo
▲ dataflow an hour ago

If your hotpatching library is competent, then it does everything atomically. Either by suspending all threads first and temporarily resuming them while they're executing any affected instructions, or by just using atomics when possible.

In which case there is no race condition.