> Hmm, you might do something like
> while (sys_kill(pid, SIGTERM) != -1)
> schedule();
>
> It is ugly because it depends on PID not being reused, but it might
> work after all.
>
> Wait. In what context process does cleanup_module() code run? It is
> probably not safe to do blocking call in idle task or something
> similary bad.
Yes, but if the thread isn't killed the kernel will lock hard.. :) so
which is worse?
-David Waite
> PS: Is someone working on audio-for-USB?
I think Alan Cox was, but it is low priority right now.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/