Repository navigation
Can emscripten fetch work in parallel when called from multiple threads? #25561
SeanBottomley
started this conversation in
General
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? |
0 replies
|
The Fetch API |
1 reply
|
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. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
All reactions