I see I should have read the example more closely on what it was trying to show. Thank you for the clarification.
On 27.06.2012 00:32, Matt Woelfel wrote:
I was reading the documentation at:
I came across a bug where the sample code doesn't run:
Search for "getppid", which should be changed to "getpid".
Thanks for the report. getppid() is certainly the correct function to call
here. But it is not available on Windows, so I've now made the call
conditional in the example.