Sunil Keshava(deleted)
|
InterruptEnable() leading to a SIGINT fault
|
Sunil Keshava(deleted)
08/28/2010 7:56 AM
post64923
|
InterruptEnable() leading to a SIGINT fault
Hi,
I have section of code (built on QNX 6.5) which accesses hardware and during the access I wish to disable interrupts. So
I am doing this:
/////////////////////////////////////////////////////////////
ThreadCtl( _NTO_TCTL_IO, 0 );
InterruptDisable();
// Here I call my functions to access hardware
InterruptEnable();
/////////////////////////////////////////////////////////////
Now, when InterruptEnable() is called, a SIGINT fault occurs and then my processes crashes. This code was previous being
used on QNX 6.3 but now I see the SIGINT fault on QNX 6.5.
I would like to know what is going wrong and how to debug this issue. And also what the SIGINT fault actually means
(what is the RTOS trying to indicate here).
And info would be appreciated.
Thanks
Sunil
|
|
|