Skip to main content

Using the HTML5 Web Workers API

  • Chapter
  • 1322 Accesses

Abstract

HTML5 Web Workers provide background processing capabilities to web applications and typically run on separate threads so that JavaScript applications using HTML5 Web Workers can take advantage of multicore CPUs. Separating long-running tasks into HTML5 Web Workers also avoids the dreaded slowscript warnings, shown in Figure 8-1, that display when JavaScript loops continue for several seconds.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   49.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Peter Lubbers, Brian Albers, Frank Salim

About this chapter

Cite this chapter

Lubbers, P., Albers, B., Salim, F. (2010). Using the HTML5 Web Workers API. In: Pro HTML5 Programming. Apress. https://doi.org/10.1007/978-1-4302-2791-5_8

Download citation

Publish with us

Policies and ethics