DEV Community

Discussion on: Wait for it: Implementing a sleep() function in JS

Collapse
 
martixy profile image
Martin Ninov

I can't reply to your question about the GIL below. (?)
JS does not have a GIL. It does not need a GIL. It is single-threaded in general. Though there do exist things like workers which allow limited, but true multi-threading capabilties.

Collapse
 
dsasse07 profile image
Daniel Sasse

Thank you Martin!