
1 Nov
2005
1 Nov
'05
7:35 p.m.
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."
snip
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. jr