Re: Terminating a blocked NSThread from outside
Re: Terminating a blocked NSThread from outside
- Subject: Re: Terminating a blocked NSThread from outside
- From: Andy <email@hidden>
- Date: Wed, 24 Apr 2002 21:55:19 -0400
Cryx wrote:
>
>
I suppose you could make the socket an instance var and just close the
>
file descriptor from another thread. That should cause the system call
>
in the subthread to return an error.
>
This is precisely what I have done with success in exactly the same
circumstance in Java.
I think in JDK1.4 there may be a neater way to do it, but certainly its
a viable solution unless there's a cocoa realated gotcha.
--
AndyT (lordpixel - the cat who walks through walls)
A little bigger on the inside
I think we finally found the killer app for Flash: animated stick men
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.