From: joel reed (joel.reed_at_[hidden])
Date: 2005-11-01 14:35:00
On Tue, Nov 01, 2005 at 01:13:48PM -0500, joel reed wrote:
> I've been exploring what a cross platform process library would look like
> and have a question about whether there is a preferred idiom for what I'll
> call an occasional property for lack of a better term.
> Given a process, I'd like to be able to query the parent process. Posix has
> such a notion, but win32 doesn't. On posix, afaik, every process has a
> parent except for "init."
> Anyone care to offer an idea for the best way to handle this?
I suppose I should add that throwing an exception didn't seem appropriate,
but perhaps I'm mistaken here. I'm just looking for best practices advice
from a library design perspective.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk