Shared Memory updates
This commit is contained in:
parent
330b9f871d
commit
0e5d838a20
24 changed files with 2420 additions and 612 deletions
|
@ -648,7 +648,7 @@ bool Util::Procs::isActive(std::string name){
|
|||
std::map<pid_t, std::string>::iterator it;
|
||||
for (it = listcopy.begin(); it != listcopy.end(); it++){
|
||||
if (( *it).second == name){
|
||||
if (kill(( *it).first, 0) == 0){
|
||||
if (childRunning(( *it).first)){
|
||||
return true;
|
||||
}else{
|
||||
plist.erase(( *it).first);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue