Call from the child process when you want to terminate it. * retcode will be provided to the done handler executed on the parent process. */
| 7887 | * retcode will be provided to the done handler executed on the parent process. |
| 7888 | */ |
| 7889 | int RM_ExitFromChild(int retcode) { |
| 7890 | sendChildCowInfo(CHILD_INFO_TYPE_MODULE_COW_SIZE, "Module fork"); |
| 7891 | exitFromChild(retcode); |
| 7892 | return REDISMODULE_OK; |
| 7893 | } |
| 7894 | |
| 7895 | /* Kill the active module forked child, if there is one active and the |
| 7896 | * pid matches, and returns C_OK. Otherwise if there is no active module |
nothing calls this directly
no test coverage detected