Re: [swift-corelibs-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 16.10 (swift 4.1) #477

2017-12-21 Thread Tony Parker via swift-corelibs-dev
Hi Michael, It’s possible that this test is not deterministic. Some contributors to the project have been working on improving this over time. - Tony > On Dec 19, 2017, at 5:49 PM, Michael Ilseman wrote: > > That’s the thing, there doesn’t look to be a relevant change. Subsequent > builds pa

[swift-corelibs-dev] DispatchQueue and Threads

2017-12-21 Thread Geordie J via swift-corelibs-dev
Hi, We are having some issues with threading / dispatch queues this week. Basically I’m wondering why the following “async” code has the output it does: print(Thread.isMainThread) // true DispatchQueue.main.async { print(Thread.isMainThread) // false (???) } Whereas this same code but with