2005-08-17 Nuno Costa <nuno-costa@iol.pt>

PR 805/rtems
	* include/rtems/posix/timer.h: Due to bad choice of error constants by
	original submitter, it was impossible to create more than 10 POSIX
	timers.
This commit is contained in:
Joel Sherrill
2005-08-17 22:56:30 +00:00
parent f45e8840c8
commit ecfdafc62e
2 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
2005-08-17 Nuno Costa <nuno-costa@iol.pt>
PR 805/rtems
* include/rtems/posix/timer.h: Due to bad choice of error constants by
original submitter, it was impossible to create more than 10 POSIX
timers.
2004-09-27 Joel Sherrill <joel@OARcorp.com>
PR 294/rtems

View File

@@ -22,8 +22,8 @@
/* Nanoseconds in a second */
#define NSEC_PER_SEC_C (unsigned32)1000000000
#define NO_MORE_TIMERS_C 11 /* There is not available timers */
#define BAD_TIMER_C 11 /* The timer does not exist in the table */
#define NO_MORE_TIMERS_C -1 /* There are no available timers */
#define BAD_TIMER_C -2 /* The timer does not exist in the table */
#define SECONDS_PER_YEAR_C (unsigned32)(360 * 24) * (unsigned32)(60 * 60)
#define SECONDS_PER_MONTH_C (unsigned32)( 30 * 24) * (unsigned32)(60 * 60)