| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
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.
| References: | |
| >Re: straight-C DNS lookup with timeout? (From: David Rio Vierra <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.