Re: TASK_STOPPED.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



             if(strcmp(temp->comm,"tester")==0)
                {
                     temp->state = TASK_STOPPED;
                >    printk("<1> setting state = TASK_STOPPED for tester !\n"); 
                }
 
 Are you sure, statement temp->state = TASK_STOPPED is executed. Put one
 printk there and check.

 i had done that already, but didnt include that part of the code in the mail i had sent to the list.
 task->state = STOPPED;
 has executed for sure !

cheers,
Amith

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux