Implementing Interrupts and Timeouts
To view the accompanying video for this lesson, please visit mhprofessional.com/nixonjavascript/.
To allow computers to do more than one thing at a time, they use a technique called interrupts, in which each process is given a few cycles of processor time in turn. At any one time only one process is active, but because the computer switches between them really quickly, they appear to be all running simultaneously.
Apart from supporting multitasking, interrupts are perfect for cutting down on unresponsive ...
Get JavaScript: 20 Lessons to Successful Web Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.