[Mono-devel-list] Re: Threading model

2005-08-05 Thread Robert Jordan
Hi Paul, Hi, I think I've found a problem between Mono and the latest kernel and I'm trying to find what it is. I've been advised to look at threading as a potential cause. What kind of problems? Does the threading system change depending on the OS (for instance, Linux and MacOS would use

[Mono-devel-list] Re: Threading model

2005-08-05 Thread Robert Jordan
Paul, How do I use Control.Invoke within my code and I'm not sure this explains the r00t access the code gave me. And you really think that Mono gave you root access? ;-) Rob ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com

Re: [Mono-devel-list] Re: Threading model

2005-08-05 Thread Paul F. Johnson
Hi, How do I use Control.Invoke within my code and I'm not sure this explains the r00t access the code gave me. And you really think that Mono gave you root access? ;-) No. I suspect a problem with the threading model or the kernel itself, but before I make a total gimboid of myself, I

Re: [Mono-devel-list] Re: Threading model

2005-08-05 Thread Paul
Hi, Thanks for the heads up on that. I've looked at the C++ version at http://samples.gotdotnet.com/quickstart/util/srcview.aspx?lbLangPref=CPpath=/quickstart/howto/Samples/WinForms/ThreadMarshal/ThreadMarshal.src but I'm not sure if I've got this right. My thread code looks like this public

[Mono-devel-list] Re: Threading model

2005-08-05 Thread Robert Jordan
Paul, Thanks for the heads up on that. I've looked at the C++ version at http://samples.gotdotnet.com/quickstart/util/srcview.aspx?lbLangPref=CPpath=/quickstart/howto/Samples/WinForms/ThreadMarshal/ThreadMarshal.src but I'm not sure if I've got this right. That's one of the best article I

Re: [Mono-devel-list] Re: Threading model

2005-08-05 Thread Paul
Hi, This modified version of your ugly program runs for a while (hundreds of increments): Ugly? It's hacked together with bits of Blutak and sticky tape! Probably some error on locking/freeing threads is generating this exception Worth putting into the big scaly one? Hope it helps, It

Re: [Mono-devel-list] Re: Threading model

2005-08-05 Thread Rafael Teixeira
On 8/5/05, Paul [EMAIL PROTECTED] wrote: Probably some error on locking/freeing threads is generating this exception Worth putting into the big scaly one? If you mean open a bugzilla case it is certainly worth as it meanders in the Platform Driver code for X before crashing... Could you do