On 2/21/07, Ingo Molnar <mingo@elte.hu> wrote:> pthread_cancel() [if/once threadlets are integrated into pthreads] ought> to do that. A threadlet, if it gets moved to an async context, is a> full-blown thread.

The fact that you are proposing pthread_cancel as a model for how toabort an unfinished threadlet suggests -- to me, and I would think toanyone who has ever written code that had no choice but to callpthread_cancel -- that you have not thought about this part of theproblem.