[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Date: Tue, 15 May 2007 17:12:00 +0200
- From: Aitor.Viana.Sanchez at esa.int (Aitor.Viana.Sanchez at esa.int)
- Subject: sem_timedwait error
i am working with rtems 4.6 over LEON2 architecture. I got a problem with
the sem_timedwait POSIX function. This function has the next declaration:
int sem_timedwait(sem_t *restrict sem, const struct timespec *restrict
the problem is that the abs_timeout must have the field tv_nsec cleared
(set to 0x0) otherwise the function is not executed correctly. I think
this is a bug in the POSIX API and I guess it would also affect other
Moreover, the problem is considerable for real-time systems because of the
lost of precision.
Any idea ?
-------------- next part --------------
An HTML attachment was scrubbed...