I assume most people are aware of the recent US budget crisis where a disagreement between House and Senate caused non-essential parts of the US government to be shut down. There is a question [here](https://politics.stackexchange.com/questions/2267/could-the-australian-government-be-denied-funding-in-the-same-way-that-happened) about how the Australian system handles similar situations.

How does the British parliamentary system handle such a situation? Is there a mechanism to prevent this kind of deadlock?