Make the zygote invoke a user-defined initialization function prior to forking off workers.
The use-case is for loading a data file whose location is specified in a config file. Doing this pre-fork means that the data is loaded just once, and we get the benefits of copy on write.
Make the zygote invoke a user-defined initialization function prior to forking off workers.
The use-case is for loading a data file whose location is specified in a config file. Doing this pre-fork means that the data is loaded just once, and we get the benefits of copy on write.