On Tue, Jul 22, 2008 at 6:25 AM, Darkas2 <[EMAIL PROTECTED]> wrote:
>
> Ok, I found the problem. It was just something with SDL: I have to call
> SDL_Flip() with &*screen instead of just with screen. I think that's because
> of the multithreading (I call it from the new thread). That was hard to find
> out, because sometimes the screen was null and sometimes not (depends on
> which thread was faster). Thanks for your help, I think I can release the
> V0.1 now!

It sounds like what you have is an ugly workaround for a fundamental
thread synchronization issue.  Why not use mutexes?

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to