Files
LibretroAdmin 2211bb3fd4 task_http_emscripten: park while the fetch is in flight
The handler parks until the fetch settles; the settle publishes the
response through an atomic and wakes the task by ident.
http_emscripten_park_test builds the unit natively against stand-in
Emscripten headers, plays the browser, and checks the task waits parked
and retires at the settle.
2026-10-14 21:39:52 +02:00

10 lines
291 B
C

/* Stand-in for Emscripten's emscripten.h on the host: what
* tasks/task_http_emscripten.c needs from it, which is nothing beyond
* the result type fetch.h uses. */
#ifndef HTTP_EMSCRIPTEN_TEST_EMSCRIPTEN_H
#define HTTP_EMSCRIPTEN_TEST_EMSCRIPTEN_H
typedef int EMSCRIPTEN_RESULT;
#endif