On Tue, Mar 15, 2011 at 10:01:05AM +0000, Dietmar Maurer wrote:
Hi all,
i wonder if i can reuse a connection after a fork?
conn = qb_ipcc_connect(..)
cpid = fork();
if (cpid) {
qb_ipcc_sendv_recv(conn, ..)
else {
qb_ipcc_sendv_recv(conn, ..)
}
I guess each process needs its own connection instead?
Yes a connection for each process, both clients sharing one
block of shared mem is't going to work well.
-Angus
- Dietmar
_______________________________________________
quarterback-devel mailing list
quarterback-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/quarterback-devel