[Bug 1878] posix timing tests: psxtmrwlock03
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Thu Aug 4 14:58:43 UTC 2011
https://www.rtems.org/bugzilla/show_bug.cgi?id=1878
Joel Sherrill <joel.sherrill at oarcorp.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
--- Comment #3 from Joel Sherrill <joel.sherrill at oarcorp.com> 2011-08-04 09:58:43 CDT ---
I found the problem. It is a misunderstanding on the timeout. It is "absolute
time" not "relative time". This means you have to do a clock_gettime() to
obtain the current time and add something to it to more time into the future.
I just made this change and committed it.
Just watch out on other APIs which use abstime to do the same thing. POSIX is
tricky on this. :D
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list