in reply to Re: Is this absurd, or have I not RTFM?
in thread Is this absurd, or have I not RTFM?
Ok ...
To get the headline out of the way; I *have* read the manual.
And to get the other misunderstanding out of the way: I *do* know what fork() does.
But look at the example output. You would expect that you created this object once, and then DESTROY was called once in each process in global destruction.
But in one of the processes (look at the PID) DESTROY is called twice. There's no surprice to see DESTROY being called twice in different processes. The surprise is that this is the same process, calling DESTROY (on the same object, but with different references).
Please read the question again
|
|---|