Changeset 69d643f7 in rtems


Ignore:
Timestamp:
Dec 5, 2021, 3:37:33 PM (6 weeks ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
5e3607bc
Parents:
9089bcc
git-author:
Sebastian Huber <sebastian.huber@…> (12/05/21 15:37:33)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/07/21 11:24:15)
Message:

score: Fix atomic stores for C++

Close #4566.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/score/cpustdatomic.h

    r9089bcc r69d643f7  
    297297{
    298298#if defined(_RTEMS_SCORE_CPUSTDATOMIC_USE_ATOMIC)
    299   obj->store( desired );
     299  obj->store( desired, order );
    300300#elif defined(_RTEMS_SCORE_CPUSTDATOMIC_USE_STDATOMIC)
    301301  atomic_store_explicit( obj, desired, order );
     
    317317{
    318318#if defined(_RTEMS_SCORE_CPUSTDATOMIC_USE_ATOMIC)
    319   obj->store( desired );
     319  obj->store( desired, order );
    320320#elif defined(_RTEMS_SCORE_CPUSTDATOMIC_USE_STDATOMIC)
    321321  atomic_store_explicit( obj, desired, order );
     
    337337{
    338338#if defined(_RTEMS_SCORE_CPUSTDATOMIC_USE_ATOMIC)
    339   obj->store( desired );
     339  obj->store( desired, order );
    340340#elif defined(_RTEMS_SCORE_CPUSTDATOMIC_USE_STDATOMIC)
    341341  atomic_store_explicit( obj, desired, order );
Note: See TracChangeset for help on using the changeset viewer.