Worker. WASM C code ending callback #17862
Unanswered
DiachenkoIgor
asked this question in
Q&A
Replies: 1 comment 13 replies
-
Can you give some more details. What does "function is released without ending C code" mean? Can you give an example? Can you share the link flags you are using? |
Beta Was this translation helpful? Give feedback.
13 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, when I create thread in C, new worker is created. JS script with name *.worker.js call function 'Module['invokeEntryPoint']' which start C procedure for given thread. However, sometimes this function is blocking and releases after C code execution end , another time function is released without ending C code. Can some, please, explain how to predict behaviour of this function or advice other way of defining end of execution of C code in worker?
Beta Was this translation helpful? Give feedback.
All reactions