mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-22 10:50:15 -10:00
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.
10 lines
291 B
C
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
|