mono/MonoGame — pull request #1047 by slygamer (2012-12-06 06:12:29+00:00)
Title: Fixed thread deadlock on Windows 8

when creating an Effect on a background thread. The deadlock happened between _swapChain.Present() and new Buffer(). Adding the lock(_d3dContext) around buffer creation solved it.