Subject: Re: [boost] [future|interprocess] Could futures live in shared memory and synchronize process?
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2009-02-17 12:56:38
>> However, I can find useful a future returning "int", just because main
>> returns int and a process could spawn other processes and obtain futures
>> to them (Boost.Process child is a an example of this approach).
> Yes, I see but the future needed in this case will be internal to the spawning process, isnt't it?
Yes, ownership of thread futures can be passed to other threads but I
don't see this useful/possible for processes, we could duplicate process
handles, but I don't see handles could be sharable. Maybe PIDs might be
placed in shared memory and futures could be made of them.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk