Hi Jey, The pq_service_create function takes two function pointers as arguments. The init_func function is called before the fork and the service_func function is called after the fork (from the child process only). Both are callbacks to the corresponding Julia functions. The process aborts when making the call to service_func after the fork. I believe your version works, because you are calling service_func from both the parent and the child process. If you were to limit the call to service_func to the child process by checking the return value of the fork call, you would probably get the same result as I am. It would be interesting to confirm that ;)
BTW: Thanks for your interest. I appreciate it. Thanks, -G
