4#include <mjs_core_public.h>
5#include <mjs_ffi_public.h>
6#include <mjs_exec_public.h>
7#include <mjs_object_public.h>
8#include <mjs_string_public.h>
9#include <mjs_array_public.h>
10#include <mjs_util_public.h>
11#include <mjs_primitive_public.h>
12#include <mjs_array_buf_public.h>
14#define INST_PROP_NAME "_"
17 ThreadEventStop = (1 << 0),
18 ThreadEventCustomDataRx = (1 << 1),
21bool js_delay_with_flags(
struct mjs*
mjs, uint32_t time);
23void js_flags_set(
struct mjs*
mjs, uint32_t flags);
25uint32_t js_flags_wait(
struct mjs*
mjs, uint32_t flags, uint32_t timeout);