This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch for review -- sleep() and nanosleep() return incorrect values when interrupted by a signal [format resend]


On Mon, Jun 12, 2006 at 06:05:19PM -1000, Dan Jakubiec wrote:
> [Resending with better plain/text formatting.  My apologies.]
> 
> Currently, if nanosleep() is interrupted by a POSIX signal it returns 
> 0.  According to POSIX:
> 
> If the /nanosleep/() function returns because it has been interrupted by 
> a signal, it shall return a value of -1 and set /errno/ to indicate the 
> interruption.

  Committed,
        Thanks
            Andrew
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]