Re: task state in a deadlock

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

 



Vincenzo Mallozzi wrote:

Hi,
what is the task state of some processes/threads that are in a deadlock situation? I've heard about TASK_UNINTERRUPTIBLE. Is not it?
In a deadlock situation both tasks are waiting for a resource that is held by another task, therefore none of the other tasks waiting for that resource can proceed. In TASK_INTERRUPTIBLE/TASK_UNINTERRUPTIBLE the task is in a sleeping state with the exception that TASK_UNINTERRUPTIBLE cannot be woken up by a signal. So it seems a deadlock can occur with a task in an interruptible or uniterruptible state.

William

--
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