Having a modernized pause/break key on your keyboard can also be handy if you ever have to use software that acts stupid on purpose, like these "Safe Exam LockDown Browsers" that some schools and universities around here have started forcing upon their students. Software like this typically just run a timer or similar to make sure that only their windows are running in the foreground, but sending them a SIGSTOP stops this annoyance.
But what if the process uses a timer to update an animation? (I.e., the state of the timer determines the frame in the animation).
In that case, after unpausing, the animation would just skip ahead. As a remedy, the pause button could also stop the system clock as seen by the process.
Yep, different applications are guaranteed to react differently to this, depending on how they were written. And a lot of games use the _rdtsc intrinsic straight from the CPU... I can't pause that. :)
Well, maybe. But then maybe I wouldn't have a girlfriend. And more importantly, maybe I wouldn't be reminded that sometimes it's OK to peel myself away from a video game.
Comments (169) 37 threads
Earlier commentsIn that case, after unpausing, the animation would just skip ahead.
As a remedy, the pause button could also stop the system clock as seen by the process.
That is a lot of work, but I wonder if there are no debugging or reverse-engineering tools that work in that way.
All comments shown.
Couldn't load more comments. Check your connection and try again.