Changeset 26870289 in rtems


Ignore:
Timestamp:
Dec 22, 2009, 1:12:57 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 5, master
Children:
b0015ab
Parents:
b45ba525
Message:

2009-12-22 Sebastian Huber <sebastian.huber@…>

  • include/rtems++/rtemsEvent.h, include/rtems++/rtemsMessageQueue.h: Fixed timeout calculation.
Location:
c/src/librtems++
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/librtems++/ChangeLog

    rb45ba525 r26870289  
     12009-12-22      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * include/rtems++/rtemsEvent.h, include/rtems++/rtemsMessageQueue.h:
     4        Fixed timeout calculation.
     5
    162009-11-23      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • c/src/librtems++/include/rtems++/rtemsEvent.h

    rb45ba525 r26870289  
    110110                                            const Condition condition)
    111111{
    112   rtems_interval usecs =
     112  rtems_interval usecs = micro_secs &&
    113113    (micro_secs < rtems_configuration_get_microseconds_per_tick()) ?
    114114    rtems_configuration_get_microseconds_per_tick() : micro_secs;
  • c/src/librtems++/include/rtems++/rtemsMessageQueue.h

    rb45ba525 r26870289  
    155155                                                   bool wait)
    156156{
    157   rtems_interval usecs =
     157  rtems_interval usecs = micro_secs &&
    158158    (micro_secs < rtems_configuration_get_microseconds_per_tick()) ?
    159159    rtems_configuration_get_microseconds_per_tick() : micro_secs;
Note: See TracChangeset for help on using the changeset viewer.