Stop a Method taking to long
<p>I'm sure I've seen this somewhere but can't remember where and it might have been in C# anyway.</p>

<p>I have a bunch of game-objects that get looped through each being updated. Is it possible to break an update method if its taking to long?</p>

<p>For instance if a programmer adds a bunch of code that takes to longer to do during 1 update cycle can I terminate its update (while updating) so that the frame-rate of the game remains constant?</p>

<p>I'd guess this might have todo with threading but I'm not sure.</p>

<p>Thanks,</p>

<p>Phil.</p>
