Here is also some sample code to illustrate the problem mentioned in that thread: http://mono.eurosoft.od.ua/files/ThreadCtx.zip Simply altering thread's context to point to new EIP won't abort sleeping threads, so it's necessary to use ACP mechanism and *Ex APIs to implement library calls. For example try to change SleepEx to Sleep in ThreadFunc in the sample code.
Sergey ----- Original Message ----- From: "Dick Porter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, September 17, 2002 7:03 PM Subject: Re: [Mono-list] Bugs In Mono Thread > On Mon, 2002-09-09 at 05:11, ??? wrote: > > Please try this MSDN example under Mono 0.15 for Windows. It MONO exe Image run >correctly under .NET, however, exception > > occurs under mono runtimes. > > > > // StopJoin.cs > > > This works when running on the jit, on linux and other similar systems. > For other combinations (the interpreter, or on windows) it doesn't. > This is because we haven't yet figured out how to implement thread > aborts on w32 (and we just haven't implemented the necessary code in > mint). > > See the thread starting at > http://lists.ximian.com/archives/public/mono-list/2002-August/001391.html > for some of our thoughts about this. > > > - Dick > > _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
