News for hackers. Stuff that matters.
Re:Vapor: a type-safe web framework for Swift by gilgoomesh on Sunday February 21, 2016 @08:48AM (#11144473)
The server isn't single threaded. It uses the dispatch concurrent thread pool for processing. The (granted, ugly) line you've linked is for blocking and keeping the main thread alive so the process doesn't end. However, the requests are processed on the dispatch "Background" queue. See "boot" here:

https://github.com/tannernelson/vapor/blob/master/Sources/So...

There are no comments on this comment yet.