hi~
I want to call sleep or nanosleep in my code.
I find that when I call sleep or nanosleep in main thread it is ok but crash in sub thread.
I also try in windows. They work find both in main and sub thread....
By the way, I want to know why usleep not work in wasm app.
I attached my simple code.
wasm_source.zip