O'Reilly logo

JavaScript: 20 Lessons to Successful Web Development by Robin Nixon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Images

Implementing Interrupts and Timeouts

image

         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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required