Gedare Bloom started a new discussion on cpukit/dhrl/dhrl.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150593 > + continue; > + } > + > + unsigned int expected = my_epoch - 1; > + if ( > + atomic_compare_exchange_strong_explicit( > + &ctx->completed_epoch, > + &expected, > + my_epoch, > + memory_order_release, > + memory_order_relaxed > + ) > + ) { > + atomic_store_explicit( > + &ctx->winning_data_ptr, > + (uintptr_t) target_addr, double-check that casting away the volatile is safe -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150593 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
