Re: Mach "pipe" between parent and child

2016-10-26 Thread Kalle Olavi Niemitalo
"Brent W. Baccala" writes: > What is the best way to fork() a child and have a Mach receive right on the > parent connected to a send right on the child? Or vice versa? I don't know whether it's the best way, but I did this in reply-leak.tar.gz posted to https://savannah.gnu.org/bugs/?48456 :

Re: Mach "pipe" between parent and child

2016-10-26 Thread Justus Winter
"Brent W. Baccala" writes: > What is the best way to fork() a child and have a Mach receive right on the > parent connected to a send right on the child? Or vice versa? There is no easy and obvious way that I know. Basically, you need to insert the send right into the other task, then communica