Re: [AD] clipping without locking? |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Elias Pschernig wrote:
But now, what if the timer thread is switched out just before draw, as indicated above, and the main thread modifies the clipping of the screen. Wouldn't this cause a crash? Am I overlooking something?
I don't think it'd cause a crash since it's just modifying integers, but you'd get eratic/undefined behavior.
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |