summaryrefslogtreecommitdiff
path: root/src/childinfo.c
Commit message (Collapse)AuthorAgeFilesLines
* Module API for ForkingOran Agra2019-07-171-0/+2
| | | | | | | | | | | * create module API for forking child processes. * refactor duplicate code around creating and tracking forks by AOF and RDB. * child processes listen to SIGUSR1 and dies exitFromChild in order to eliminate a valgrind warning of unhandled signal. * note that BGSAVE error reply has changed. valgrind error is: Process terminating with default action of signal 10 (SIGUSR1)
* Clear child data when opening the pipes.cow-pipeantirez2016-09-191-0/+2
| | | | | | This is important both to reset the magic to 0, so that it will not match if the structure is not explicitly set, and to initialize other things we may add like counters and such.
* Child -> Parent pipe for COW info transferring.antirez2016-09-191-0/+83