possible std::async implementation bug Windows
问题 It seems like there is a bug in the windows implementation of std::async. Under heavy load (on the order of 1000 threads launched async per second), async tasks are never scheduled and waiting on the returned futures leads to deadlocks. See this piece of code (modified with launch policy deferred instead of async): BundlingChunk(size_t numberOfInputs, Bundler* parent, ChunkIdType chunkId) : m_numberOfInputs(numberOfInputs), m_parent(parent), m_chunkId(chunkId) { const BundlerChunkDescription&