Are Mutexes needed in javascript?

前端 未结 7 1604
情书的邮戳
情书的邮戳 2020-12-12 14:51

I have seen this link: Implementing Mutual Exclusion in JavaScript. On the other hand, I have read that there are no threads in javascript, but what exactly does that mean?

7条回答
  •  无人及你
    2020-12-12 15:12

    JavaScript, the language, can be as multithreaded as you want, but browser embeddings of the javascript engine only runs one callback (onload, onfocus,

提交回复
热议问题