|
Boost Users : |
Subject: [Boost-users] Transfering the process state to another process
From: Lloyd (lloyd_at_[hidden])
Date: 2009-11-06 01:15:05
Hi,
We want to have a program which cannot be terminated by the user (even
admin). I think the only way to do this is to write a watchdog process. So
there will be a master and a slave process, the master will be the active
process, and the slave keep on watching the master. I case if the master
is terminated, the slave become master and initiates a new slave process.
But we need to transfer (or share) the process state of "old master" with
the "new master" (So that the new master can continue form where the old
master has stopped). Is this possible with shared memory?
Or is there is a better way?
Thanks,
Lloyd
______________________________________
Scanned and protected by Email scanner
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net