The same PID

COTTRELL, JAMES cottrell at nbs-vms.ARPA
Fri Aug 30 05:07:17 AEST 1985


/*
> > (what happens when you get the same pid
> > as someone else did earlier?).
> 
> This can happen very easily:  Process X does a mktemp (or tmpnam), then
> execs another program that also wants to mktemp (or tmpnam).  It's still
> got the same PID!

Pretty sloppy program! Didn't even clean up its temporary files!

	jim		cottrell at nbs
*/
------



More information about the Comp.lang.c mailing list