[Mono-list] About killing a thread.

Piers Haken piersh@friskit.com
Tue, 16 Mar 2004 00:31:03 -0800


Thread.Abort () is what you're looking for.

Alternatively you can switch to using asynchronous IO if you're interested
in exploring a whole new world of weird and wonderful debugging scenarios.

Piers.

-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com] On Behalf Of Antonio Martínez
Álvarez
Sent: Monday, March 15, 2004 1:01 PM
To: Mono-List
Subject: [Mono-list] About killing a thread.

Hello.

How do I kill a thread?
I have a thread which is always listing a tcp port (blocked), and I want it
to termitate when the application exit.

Thanks

--
Antonio Martínez
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list