Women in Technology

Hear us Roar

  Implementing Mutual Exclusion for AJAX
Subject:   Javascript in browsers is single threaded
Date:   2006-04-06 00:41:23
From:   ChristopheGrand
Javascript is singlethreaded but a scheduled (setInterval or setTimeout) or event-driven callback can be executed in the midst of another computation.
Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • Javascript in browsers is single threaded
    2006-04-06 07:33:09  jdodds [View]

    Regardless of what you think the threading model is, if event handling can happen "in the midst of another computation" then you have the grounds for a race condition.