Call from the child process when you want to terminate it. * retcode will be provided to the done handler executed on the parent process. */
| 8083 | * retcode will be provided to the done handler executed on the parent process. |
| 8084 | */ |
| 8085 | int RM_ExitFromChild(int retcode) { |
| 8086 | sendChildCowInfo(CHILD_INFO_TYPE_MODULE_COW_SIZE, "Module fork"); |
| 8087 | exitFromChild(retcode); |
| 8088 | return REDISMODULE_OK; |
| 8089 | } |
| 8090 | |
| 8091 | /* Kill the active module forked child, if there is one active and the |
| 8092 | * pid matches, and returns C_OK. Otherwise if there is no active module |
nothing calls this directly
no test coverage detected