Sam Clegg

Results 1050 comments of Sam Clegg
trafficstars

> I instantiate wasm in a web-worker I think think this aspect could be a clue, since its not the most common setup. Can you explain a little more about...

I think we should try to get to the bottom of this since `MAIN_THREAD_EM_ASM` shouldn't have this kind of delay. I agree a simple repro case would be great here.

By the way I see that you have `.worker.js` in your filename. Does that mean you are using a version of emscripten before #21701 landed (this change removed the worker.js...

Were you able to build a reproducer? If you are able to run experiments, can you confirm if the issue also occurs when you run the main application thread on...

You could write your tests in C/C++ using something like gtest (https://github.com/google/googletest) then there would only be one single instance of program and one single worker pool, so no workers...

How much state cleanup you need to do between tests depends on how your program is structured. If its structured as a library is should be safe to run all...

@aheejin @dschuff does this look familiar to you? @ravisumit33 it would be really useful if you could try to narrow down which emsdk version causes this failure. If you are...

It could be that embind simply does not work today (or rather have never been tested) inside of wasm workers. @brendandahl @juj would know more, but I don't see any...

`_wasmWorkerInitializeRuntime` should work.

I think this is due to the fact that we can't bloc the main thread when running the browser and so our select implementation is basically just falls back to...