> > { > > temp->state = TASK_STOPPED; call schedule here as well. > > } > > Are you sure, statement temp->state = TASK_STOPPED is executed. Put one > printk there and check. > > Regards -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/