TSSRT and TSRIST outputs in listen mode will now request not to be killed by the Comms library, since they handle multiple users
This commit is contained in:
parent
22e0036b8b
commit
41cf557b48
7 changed files with 11 additions and 5 deletions
|
@ -141,7 +141,7 @@ int main(int argc, char **argv){
|
|||
cleanUsers.setStatus(COMM_STATUS_INVALID, i);
|
||||
if (status != COMM_STATUS_INVALID && !(status & COMM_STATUS_DISCONNECT)){
|
||||
pid_t pid = cleanUsers.getPid(i);
|
||||
if (pid > 1){
|
||||
if (pid > 1 && !(cleanUsers.getStatus(i) & COMM_STATUS_NOKILL)){
|
||||
Util::Procs::Stop(pid);
|
||||
checkPids.insert(pid);
|
||||
}
|
||||
|
@ -165,3 +165,4 @@ int main(int argc, char **argv){
|
|||
nukeSem("/MstPull_%s");
|
||||
nukeSem(SEM_TRACKLIST);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue