Hi all,
 
as I know Gtk# is not thread-safe (is it planned to be?). I guess it is the reason of my errors,
I have an application (1) which starts a separate thread (2) when some task starts and that task makes calls
to custom dll using pinvoke. Is it safe to attach to events of (2) in (1) and to send results to some Widget when
they are invoked?
 
Another thing is a little bit offtop but ... when I kill a child thread with Thread.Abort() the next time I start it
it can't make calls to the underlying C++ dll anymore :((, probably someone experienced this kind of problem?
 
I also saw some attrbutes which can make my calls to the dll library more safe (in case they damage some memory)?
Because when I exit my application I usually get something like Debug Error: DAMAGE: before Normal block (#-134134241) at 0x054532344
 
Thanks in advance,
 
--Gena
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to