[Mono-list] Calling two methods from two seperate threads in the same MonoDomain (mono embedding)
Darkas at gmx.net
Mon Jul 21 09:15:30 EDT 2008
Well, as you can read in the title, I'm trying to invoke two methods (Main
and Frame) in one MonoDomain. I've searched the forums, but I found nothing
that really matches my problem. I want to call Main in the main thread and
after Main ends, the program (game engine) quits. And before calling main,
I'm initializing a timer that invokes the frame method 60 times per second
(ok, and it does some additional stuff). For threading, I use pthreads. The
problem is that I get an error message at runtime: The thread ... has been
prematurely freezed. I googled this, and I found out that this message comes
from the mono runtime. But I got nothing that can tell me exactly what the
problem is. Can someone please help me?
View this message in context: http://www.nabble.com/Calling-two-methods-from-two-seperate-threads-in-the-same-MonoDomain-%28mono-embedding%29-tp18568417p18568417.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list