Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start building the scheduler for Windows #10678

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Ericson2314
Copy link
Member

Motivation

Building derivations is a lot harder, but the downloading goals is portable enough.

Context

The "common channel" code is due to Volth. I wonder if there is a way we can factor it out into separate functions / files to avoid some within-function CPP.

Priorities and Process

Add 馃憤 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

Building derivations is a lot harder, but the downloading goals is
portable enough.

The "common channel" code is due to Volth. I wonder if there is a way we
can factor it out into separate functions / files to avoid some
within-function CPP.

Co-authored-by: volth <volth@volth.com>
@roberth
Copy link
Member

roberth commented May 12, 2024

The PR as it is adds a lot of complexity in the form of ifdefs, which are of no help for our other use cases of pipes.
Could we have classes that implement the same interface on all platforms? E.g:

  • PipeEnds - currently called Pipe on POSIX; main responsibility is returning the two PipeDescriptors
  • PipeDescriptor - a Descriptor for a pipe end

This way we should get a reusable pipe abstraction that we can use in other places, and while taking advantage of the (mostly posix) type checking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants