[RTEMS Project] #4138: the atomicity of some operations cannot be guaranteed.

RTEMS trac trac at rtems.org
Fri Oct 9 11:11:21 UTC 2020


#4138: the atomicity of some operations cannot be guaranteed.
-------------------------+------------------------------
  Reporter:  only_yipie  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  normal      |  Milestone:  4.9.5
 Component:  tool/gcc    |    Version:  4.9
  Severity:  normal      |   Keywords:  gcc、atomicity.h
Blocked By:              |   Blocking:
-------------------------+------------------------------
 The atomic operations _atmoic_add() and exchange_and_add() of the gcci386
 tool chain do not use the lock instruction, thus the atomicity of
 operations cannot be guaranteed.
 The related file is "gcc-4.9.3/libstdc++-v3/config/cpu/i386/atomicity.h".

--
Ticket URL: <http://devel.rtems.org/ticket/4138>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list