<font size=2 face="sans-serif">Hi Dan:</font>
<br>
<br><font size=2 face="sans-serif">The Dispatch sources are mostly complete
- unfortunately DISPATCH_SOURCE_TYPE_PROC isn't there and it unlikely to
be there in a hurry. It would ideally need the underlying kqueue library
to have EVFILT_PROC support, which it doesn't today.</font>
<br>
<br><font size=2 face="sans-serif">Chris<br>
</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:
</font><font size=1 face="sans-serif">Dan Stenmark via swift-corelibs-dev
<swift-corelibs-dev@swift.org></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:
</font><font size=1 face="sans-serif">Alexander Alemayhu
<alexander@alemayhu.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">Cc:
</font><font size=1 face="sans-serif">Swift core libraries
<swift-corelibs-dev@swift.org></font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:
</font><font size=1 face="sans-serif">16/04/2016 22:00</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:
</font><font size=1 face="sans-serif">Re: [swift-corelibs-dev]
NSTask and NSFileHandle implementation</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by:
</font><font size=1 face="sans-serif">swift-corelibs-dev-bounces@swift.org</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>While we’re on the subject, I’ve been out of the loop
for a little while: how’s the Linux-side implementation of dispatch sources
looking these days? In particular, I’m interested in the status
of DISPATCH_SOURCE_TYPE_READ and DISPATCH_SOURCE_TYPE_PROC.</font>
<br>
<br><font size=3>Right now, NSTask is using Good Ol’ CFRunLoops for it’s
event handling, and I’d really like to move that over to GCD as soon as
I can.</font>
<br>
<br><font size=3>Dan</font>
<br>
<br>
<br><font size=3>On Apr 16, 2016, at 1:55 PM, Dan Stenmark <</font><a href=mailto:daniel.j.stenmark@gmail.com><font size=3 color=blue><u>daniel.j.stenmark@gmail.com</u></font></a><font size=3>>
wrote:</font>
<br>
<br><font size=3>Hey Alexander,</font>
<br>
<br><font size=3>I supplied most of the initial implementation of NSTask,
but was holding off on IO redirection until someone tackled NSFileHandle.
I can’t say if anyone else on this list is working on this right
now, but if not and if you’re really interested in finishing NSFileHandle,
I would (very happily!) take care of the relevant implementation in NSTask.</font>
<br>
<br><font size=3>Dan</font>
<br>
<br><font size=3>On Apr 16, 2016, at 1:50 AM, Alexander Alemayhu via swift-corelibs-dev
<</font><a href="mailto:swift-corelibs-dev@swift.org"><font size=3 color=blue><u>swift-corelibs-dev@swift.org</u></font></a><font size=3>>
wrote:</font>
<br>
<br><font size=3>Hei Everyone,</font>
<br>
<br><font size=3>Is anyone working on the NSTask and/or NSFileHandle implementation?
</font>
<br>
<br><font size=3>I would like to fix the hangs issue in order to revert
[3aa8434][0](disable</font>
<br><font size=3>NSTask tests for now since it can cause hangs., 2016-01-21),
but want to avoid</font>
<br><font size=3>duplicating work. Fixing this should also resolve [SR-625][1].</font>
<br>
<br><font size=3>Thanks.</font>
<br>
<br><font size=3>[0]: </font><a href="https://github.com/apple/swift-corelibs-foundation/commit/3aa8434df50d9513a0ac1646fb52516a092fa728"><font size=3 color=blue><u>https://github.com/apple/swift-corelibs-foundation/commit/3aa8434df50d9513a0ac1646fb52516a092fa728</u></font></a>
<br><font size=3>[1]: </font><a href="https://bugs.swift.org/browse/SR-625"><font size=3 color=blue><u>https://bugs.swift.org/browse/SR-625</u></font></a>
<br>
<br><font size=3>-- </font>
<br><font size=3>Mit freundlichen Grüßen<br>
<br>
Alexander Alemayhu</font>
<br><font size=3>_______________________________________________<br>
swift-corelibs-dev mailing list</font><font size=3 color=blue><u><br>
</u></font><a href="mailto:swift-corelibs-dev@swift.org"><font size=3 color=blue><u>swift-corelibs-dev@swift.org</u></font></a><font size=3 color=blue><u><br>
</u></font><a href="https://lists.swift.org/mailman/listinfo/swift-corelibs-dev"><font size=3 color=blue><u>https://lists.swift.org/mailman/listinfo/swift-corelibs-dev</u></font></a>
<br>
<br><tt><font size=2>_______________________________________________<br>
swift-corelibs-dev mailing list<br>
swift-corelibs-dev@swift.org<br>
</font></tt><a href="https://lists.swift.org/mailman/listinfo/swift-corelibs-dev"><tt><font size=2>https://lists.swift.org/mailman/listinfo/swift-corelibs-dev</font></tt></a><tt><font size=2><br>
</font></tt>
<br>
<br>