Hotpatching a C Function on x86
What's the use case for this feature?  Altering a thread's (or set of threads') work dynamically because synchronizing with those threads is too expensive?  Or in an actual case would "goodbye()" contain code which was only generated as late as runtime?It's neat, but I'm wondering why simpler things like updating a function pointer wouldn't be sufficient.