mirror of
https://github.com/fluencelabs/redis
synced 2025-06-16 02:31:20 +00:00
Lua debugger: call wait3() if there are pending forked debugging sessions.
This commit is contained in:
@ -1650,6 +1650,12 @@ int ldbRemoveChild(pid_t pid) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Return the number of children we still did not received termination
|
||||
* acknowledge via wait() in the parent process. */
|
||||
int ldbPendingChildren(void) {
|
||||
return listLength(ldb.children);
|
||||
}
|
||||
|
||||
/* Kill all the forked sessions. */
|
||||
void ldbKillForkedSessions(void) {
|
||||
listIter li;
|
||||
|
Reference in New Issue
Block a user