Re: [linux] Re: Process Distribution & Migration
- On Mon, 29 Jan 2007 09:54:15 -0800 (PST)
Pedro Izecksohn <izecksohn@...> wrote:
> --- Pedro Izecksohn <izecksohn@...> wrote:if it's critical to operate on the pid, always use getpid().
> > --- imtiaz_raheel <imtiaz_raheel@...> wrote:
> > > suppose half of your process has executed and then you put it in
> > > yuor flash drive and execute it somewhere else.
> > May signal.h sigaction be useful to restore process state.
> After thinking some minutes more:
> What is not restorable? Registers and memory pages are restorable.
> But PID AFAIK is not, as it may be in use by another process.
> I'm not a kernel hacker, but someone could add a feature to reserve
> a specific PID to a future exec, that should be exec with the
> reserved PID when it become available.
Regards, Ed :: http://www.ednevitable.co.uk
just another bash person
Mr. T once won the lottery. The winning numbers were "T-T-T-T-T-T"