signal pending confusion !!!

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

 



Hi

While i was going through st.c the 402 line is like this -

/*code snippet */
if( signal_pending ( current ) )
         (STp->buffer)->syscall_result = (-EINTR);
else
          ...
/*ends here */

What is signal pending doing here?
What actually does it do and which signal is this supposed to be ?

i read the code in sched.h ( AFAIR about the this is the file ) but didnot quite get what is meant by signal_pending macro there.

Can anybody explain me this.

Thanks

--
play the game

[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