Any reason for system hang

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

 



Hi,
In one of my test driver, I invoke the read on my test device from a separate thread and two ioctl commands from two different threads. The threads runs in infinite loop. When only one of the threads is created, the behavior is fine.
But when all the three threads' creation is enabled, after  some time the system hangs. What could be the reason for this hang?
Any pointers to this problem?
 
 
---------------            ------------           ------------
|     T1     |            |    T2   |           |     T3   |
---------------            ------------           ------------
      |                          |                       | 
      |                          |                       | 
      V                        V                      V
   Read             IOCTL_CMD1     IOCTL_CMD2
 
 
 
Thanks in advance.
Regards,
Anj

[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