Re: [patch 00/11] ANNOUNCE: "Syslets", generic asynchronous system call support

From: Ingo Molnar
Date: Tue Feb 13 2007 - 17:45:54 EST



* Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:

> > ok, that should work fine already - exit in the user context gets
>
> That would be a little heavy handed. I wouldn't expect my GUI program
> to quit itself on cancel. And requiring it to create a new thread just
> to exit on cancel would be also nasty.
>
> And of course you cannot interrupt blocked IOs this way right now
> (currently it only works with signals in some cases on NFS)

ok. The TID+signal approach i mentioned in the other reply should work.
If it's frequent enough we could make this an explicit
sys_async_cancel(TID) API.

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/