Can emscripten fetch work in parallel when called from multiple threads? #25561
Replies: 3 comments 1 reply
-
Can you explain more about what you mean "tried both synchronous and asynchronous fetches". What APIs are you referring to exactly? |
Beta Was this translation helpful? Give feedback.
-
The Fetch API |
Beta Was this translation helpful? Give feedback.
-
no, it isnt being written to the filesystem and no i'm not by default using EMSCRIPTEN_FETCH_PERSIST_FILE but am sure i did try it. ATM i am trying to via Javascript write directly to XMLHttpRequest, i'm not 100% there yet but initial signs show that this approach may work - i've definitely had 2 requests work as i'd expect. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to port a c++ application which can stream data which is then displayed via GL. The code uses multiple threads grab chunks of very large files. I have tried both synchronous and asynchronous fetches from multiple threads but it feels like something is blocking which results in consecutive fetches rather than something more concurrent
Beta Was this translation helpful? Give feedback.
All reactions