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
|