mirror of
https://github.com/NixOS/nix.git
synced 2025-12-05 16:41:01 +01:00
More work on the scheduler for windows
- Get a rump derivation goal: hook instance will come later, local derivation goal will come after that. - Start cleaning up the channel / waiting code with an abstraction.
This commit is contained in:
parent
1e2b26734b
commit
bcdee80a0d
13 changed files with 331 additions and 204 deletions
|
|
@ -3,10 +3,7 @@
|
|||
|
||||
#include "store-api.hh"
|
||||
#include "goal.hh"
|
||||
|
||||
#ifdef _WIN32
|
||||
# include "windows-async-pipe.hh"
|
||||
#endif
|
||||
#include "muxable-pipe.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
@ -48,11 +45,7 @@ struct PathSubstitutionGoal : public Goal
|
|||
/**
|
||||
* Pipe for the substituter's standard output.
|
||||
*/
|
||||
#ifndef _WIN32
|
||||
Pipe outPipe;
|
||||
#else
|
||||
windows::AsyncPipe outPipe;
|
||||
#endif
|
||||
MuxablePipe outPipe;
|
||||
|
||||
/**
|
||||
* The substituter thread.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue