[Mono-list] Bugs In Mono Thread

Sergey Chaban serge@wildwestsoftware.com
Tue, 17 Sep 2002 22:08:15 +0300


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" <dick@ximian.com>
To: <kevin-hua@woncore.com>
Cc: <mono-list@ximian.com>
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
>
>