Re: straight-C DNS lookup with timeout?
Re: straight-C DNS lookup with timeout?
- Subject: Re: straight-C DNS lookup with timeout?
- From: Dietrich Epp <email@hidden>
- Date: Mon, 30 Dec 2002 04:07:50 -0800
On Monday, December 30, 2002, at 02:40 , David Rio Vierra wrote:
Yes, you can kill pthreads. From `man pthread`:
int pthread_cancel(pthread_t thread)
Cancels execution of a thread.
You acquire the pthread_t from:
int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void
*(*start_routine)(void *), void *arg)
Creates a new thread of execution.
Aren't the NSThreads implemented using UNIX pthread functionality?
Anyway, they're all Mach threads anyway with a little sugar coating.
_______________________________________________
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.