more mmtimer questions

Oliver Stieber oliver_stieber at yahoo.co.uk
Sat Feb 12 14:47:52 CST 2005


 --- Oliver Stieber <oliver_stieber at yahoo.co.uk> > >
> > I guess that's a long way of saying that yes, I
> > think you have
> > identified a flaw in the code, but that I can't
> > imagine any way it's
> > could cause the problem you're seeing.
> > 
> 
> would something like....
> 
> void	TIME_MMTimeStop(void)
> {
> if(InterlockedExchange(&TIME_activeTimer, FALSE))
> {
> ......
> }
> }
> 
> get around the critical section problems or should
> the
> code be change to use it's own critical section or
> both? 
> 
> 
Hmmm, my never trust a dyslexic programmer on a
satarday morning.
now that I've read the code I can see that my
suggestion would require three states and spin, so why
not just use a critical section?


		
___________________________________________________________ 
Trial Yahoo! Mobile for FREE and win 3 dream holidays. 
http://www.yahoo.co.uk/trip 




More information about the wine-devel mailing list