MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / emscripten_proxy_async

Function emscripten_proxy_async

system/lib/pthread/proxying.c:184–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184bool emscripten_proxy_async(em_proxying_queue* q,
185 pthread_t target_thread,
186 void (*func)(void*),
187 void* arg) {
188 return do_proxy(q, target_thread, (task){func, NULL, arg});
189}
190
191enum ctx_kind { SYNC, CALLBACK };
192

Callers 14

do_dispatch_to_threadFunction · 0.70
pthread_killFunction · 0.70
mainFunction · 0.50
mainFunction · 0.50
proxy_to_selfFunction · 0.50
mainFunction · 0.50
test_proxy_asyncFunction · 0.50
test_tasks_queue_growthFunction · 0.50
grow_proxying_queueFunction · 0.50

Calls

no outgoing calls

Tested by 8

mainFunction · 0.40
mainFunction · 0.40
proxy_to_selfFunction · 0.40
mainFunction · 0.40
test_proxy_asyncFunction · 0.40
test_tasks_queue_growthFunction · 0.40
grow_proxying_queueFunction · 0.40