Prevent deadlock when call sync method on mainThread.
Prevent deadlock when call sync method on mainThread.

JARMourato/Dispatch,DynamicThreads/Dispatch,DynamicThreads/Dispatch,Swiftification/Dispatch,JARMourato/Dispatch,Swiftification/Dispatch