Hi,<div><br></div><div>I&#39;m working on a jsonrpc (client) module that we would like to make async, using t_suspend and t_continue from the tm module. I have a couple questions related to this.</div><div><br></div><div>The way I understand these functions, t_suspend will freeze the transaction in shared memory and immediately return and t_continue will unfreeze the transaction. What I&#39;m not clear on here is whether t_continue will continue processing of the transaction within the process that calls t_continue, or will it delegate to a worker process?</div>
<div><br></div><div>I assume I should spawn an io process in child_init which will be responsible for sending/receiving on the socket(s), but what is the best way to communicate between processes? Is there a way to get a fd from fork_process (that can be written to by any child and read from using select() in the io thread)?</div>
<div><br></div><div>This is my first attempt at a real module, so any pointers are greatly appreciated.</div><div><br></div><div>Regards,</div><div>Matthew WIlliams</div>