Normally this would be done (in POSIX) with pthread_cancel(), passing it the pthread_t from the other thread.
Unfortunately, this is not a part of APR because many of the current OS implementations of this mechanism will leak resources (aparently in the kernel), and that is bad. -aaron On Tue, Jul 17, 2001 at 01:32:52AM -0700, dean gaudet wrote: > On Sat, 14 Jul 2001, Sander Striker wrote: > > > The way I see it, each process has a single pool instance as the parent > > for all the threads. Resetting or destroying that pool should effectively > > kill all threads. What am I missing? > > how does a thread kill another thread? > > -dean
