duemunk / Async

Syntactic sugar in Swift for asynchronous dispatches in Grand Central Dispatch
MIT License
4.59k stars 316 forks source link

qos_class_self() func can't get the current thread Qos class #38

Closed myloveCc closed 9 years ago

myloveCc commented 9 years ago

when i run the test project,qos_class_self() func can't get the current thread Qos class,and then the test failed。

duemunk commented 9 years ago

Which test? And what branch? And what version of XCode?

duemunk commented 9 years ago

I can't reproduce this without any more information, so it will be closed for now.

myloveCc commented 9 years ago

Oh,I am test AsyncExample_iOSTests project in Xcode 6.4.

duemunk commented 9 years ago

Do you run it on a device as specified?

myloveCc commented 9 years ago

I run it on Iphone6 simulator ,but the test failed also.

duemunk commented 9 years ago

You should not run in it in the simulator. GCD isn't simulated perfectly, so the tests only work on the device.

myloveCc commented 9 years ago

Oh,I see , thanks for your reply, have a nice day.