[swift-corelibs-dev] Use of pthread_main_np() in NSOperation

2016-05-10 Thread Chris Bailey via swift-corelibs-dev
NSOperation.swift currently makes a call to pthread_main_np() on line 536. This causes a compilation failure on Linux as there isn't an implementation of pthread_main_np() in Glibc. There's few ways of fixing this. Before I go ahead and implement one of them, I'd like to get some input on what

Re: [swift-corelibs-dev] Use of pthread_main_np() in NSOperation

2016-05-10 Thread Tony Parker via swift-corelibs-dev
Since CF is really an implementation detail of Foundation for corelibs, let’s use the CF implementation for Foundation. - Tony > On May 10, 2016, at 12:10 PM, Chris Bailey via swift-corelibs-dev > wrote: > > NSOperation.swift currently makes a call to pthread_main_np() on line 536. > This ca