Sorry my mistake in previous email - no explanation given.   The first
part is actually to show the proper way to send a signal to the kernel
thread (from within the kernel)- not sure if you are doing it that
way?

On 10/4/07, Peter Teoh <[EMAIL PROTECTED]> wrote:
> http://www.scs.ch/~frey/linux/kernelthreads.html
>
> /* We need to do a memory barrier here to be sure that
>            the flags are visible on all CPUs.
>         */
>         mb();
>         kill_proc(kthread->thread->pid, SIGKILL, 1);
>
>         /* block till thread terminated */
>         down(&kthread->startstop_sem);

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to