dispatchMain
> Applications ... must not call dispatchMain()

RunLoop
> You should never try to call the methods of an RunLoop object running in a different thread

なんでリファレンスで危ないから使うなって言われてるものを優先して挙げるのか
DispatchWorkItemのサンプルはよ、一番これが「モダン」だと思う