1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 23:03:53 -04:00

Rename function

This commit is contained in:
Eelco Dolstra 2014-12-10 17:25:12 +01:00
parent 20cf0127f5
commit b5ed5b6e66

View file

@ -816,8 +816,8 @@ private:
/* Start building a derivation. */ /* Start building a derivation. */
void startBuilder(); void startBuilder();
/* Initialise the builder's process. */ /* Run the builder's process. */
void initChild(); void runChild();
friend int childEntry(void *); friend int childEntry(void *);
@ -1915,7 +1915,7 @@ void DerivationGoal::startBuilder()
/* Fork a child to build the package. */ /* Fork a child to build the package. */
pid = startProcess([&]() { pid = startProcess([&]() {
initChild(); runChild();
}); });
/* parent */ /* parent */
@ -1936,7 +1936,7 @@ void DerivationGoal::startBuilder()
} }
void DerivationGoal::initChild() void DerivationGoal::runChild()
{ {
/* Warning: in the child we should absolutely not make any SQLite /* Warning: in the child we should absolutely not make any SQLite
calls! */ calls! */