<div dir="ltr">Hello,<div><br></div><div>Following up from a thread "Lifecycle of a callback?" discussed on this list: I want to double check my thinking.</div><div><br></div><div>The C functions I am calling in libuv mostly do one thing: put a struct representing the system call to call, and the callback to run once the system call is called, on a queue that another thread will work on. If my understanding is correct, the runtime lock would need to be re-acquired when the OCaml callback is ran. However, it's not clear to me how to do this.</div><div><br></div><div>Thoughts? Thanks.</div><div><div><br>Trevor</div></div></div>