[PATCH 08/11] winex11: Use pthread for D3DKMT locking.