NSFileHandle implementation

Hi I’m trying to use NSPipe to read in output from a task. I see that we don’t have readabilityHandler() implemented yet in NSFileHandle as of the swift-3.0-preview-2 branch. Is anyone working on this, or can I be of assistance with this? I am new to the mailing lists and I am not sure how this works yet. :P

-Rhett

···

Sent from my Mac

Situation might have changed since, but last time I asked after that (early last week), I was told that pull requests are welcomed - I’d say it’s safe to offer up an implementation, assuming it provides the appropriate semantics :).

-- Gwynne Raskind

···

On Jun 22, 2016, at 15:49, Rhett Rogers via swift-corelibs-dev <swift-corelibs-dev@swift.org> wrote:

Hi I’m trying to use NSPipe to read in output from a task. I see that we don’t have readabilityHandler() implemented yet in NSFileHandle as of the swift-3.0-preview-2 branch. Is anyone working on this, or can I be of assistance with this? I am new to the mailing lists and I am not sure how this works yet. :P

-Rhett

Sent from my Mac
_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev

Hi Rhett,

Sure, we’d love some help here.

One challenge with this particular API is that we haven’t yet integrated libdispatch into Foundation (work is in progress right now), so the async behavior might be difficult to implement.

- Tony

···

On Jun 22, 2016, at 2:39 PM, Gwynne Raskind via swift-corelibs-dev <swift-corelibs-dev@swift.org> wrote:

Situation might have changed since, but last time I asked after that (early last week), I was told that pull requests are welcomed - I’d say it’s safe to offer up an implementation, assuming it provides the appropriate semantics :).

-- Gwynne Raskind

On Jun 22, 2016, at 15:49, Rhett Rogers via swift-corelibs-dev <swift-corelibs-dev@swift.org> wrote:

Hi I’m trying to use NSPipe to read in output from a task. I see that we don’t have readabilityHandler() implemented yet in NSFileHandle as of the swift-3.0-preview-2 branch. Is anyone working on this, or can I be of assistance with this? I am new to the mailing lists and I am not sure how this works yet. :P

-Rhett

Sent from my Mac
_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev

_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev

Ha ok. I will see if I can do anything without it (just so I can get started in contributing to the language/libraries) and if I can’t figure it out, I’ll see if I can help with libdispatch if its possible

-Rhett

···

Sent from my Mac

On Jun 22, 2016, at 3:57 PM, Tony Parker <anthony.parker@apple.com> wrote:

Hi Rhett,

Sure, we’d love some help here.

One challenge with this particular API is that we haven’t yet integrated libdispatch into Foundation (work is in progress right now), so the async behavior might be difficult to implement.

- Tony

On Jun 22, 2016, at 2:39 PM, Gwynne Raskind via swift-corelibs-dev <swift-corelibs-dev@swift.org> wrote:

Situation might have changed since, but last time I asked after that (early last week), I was told that pull requests are welcomed - I’d say it’s safe to offer up an implementation, assuming it provides the appropriate semantics :).

-- Gwynne Raskind

On Jun 22, 2016, at 15:49, Rhett Rogers via swift-corelibs-dev <swift-corelibs-dev@swift.org> wrote:

Hi I’m trying to use NSPipe to read in output from a task. I see that we don’t have readabilityHandler() implemented yet in NSFileHandle as of the swift-3.0-preview-2 branch. Is anyone working on this, or can I be of assistance with this? I am new to the mailing lists and I am not sure how this works yet. :P

-Rhett

Sent from my Mac
_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev

_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev