Re: [swift-corelibs-dev] [swift-evolution] [Discussion] Resources

2017-09-27 Thread Karl Wagner via swift-corelibs-dev
> On 27. Sep 2017, at 12:32, Karl Wagner via swift-evolution > wrote: > > > >> On 25. Sep 2017, at 18:54, Rick Ballard via swift-evolution >> wrote: >> >> Hi Karl and Keith, >> >> (+ swift-build-dev and swift-corelibs-dev) >> >> The SwiftPM core team has had some preliminary discussions

Re: [swift-corelibs-dev] [swift-evolution] [Discussion] Resources

2017-09-27 Thread Karl Wagner via swift-corelibs-dev
> On 25. Sep 2017, at 18:54, Rick Ballard via swift-evolution > wrote: > > Hi Karl and Keith, > > (+ swift-build-dev and swift-corelibs-dev) > > The SwiftPM core team has had some preliminary discussions already with the > swift-corelibs team about the best way to support resources; whateve

Re: [swift-corelibs-dev] Cancelable DispatchQueue.concurrentPerform

2017-03-07 Thread Karl Wagner via swift-corelibs-dev
On 24 Feb 2017, at 09:48, Brent Royal-Gordon wrote: On Feb 23, 2017, at 8:35 AM, Karl Wagner via swift-corelibs-dev < swift-corelibs-dev@swift.org> wrote: Would it be possible to make a cancelable version of DispatchQueue.concurrentPerform, allowing you to abort any yet-to-be-scheduled

[swift-corelibs-dev] Cancelable DispatchQueue.concurrentPerform

2017-02-23 Thread Karl Wagner via swift-corelibs-dev
Would it be possible to make a cancelable version of DispatchQueue.concurrentPerform, allowing you to abort any yet-to-be-scheduled blocks? The use-case is for when you’re concurrently performing a job and one of them sets a flag or fails in a way which already defines the result. Further exec