1 of 1 people found this helpful
No, flag writes are not broadcast. In the example you describe, only core 5 should see the update. There must be something else going on... It looks like you call RCCE_flag_read() with a pointer to the flag struct, but you need to pass the struct directly: RCCE_flag_read(flg, &tmp_flg_val, ME). If that doesn't help, could you post the complete example?
Have a nice holiday season!
It helped of course
I repeated this mistake again.
Now I know why I keep repeating it - the document RCCE_Specification.pdf, shows you have to send a pointer to RCCE_FLAG instead of the flag directly...
You're right, the RCCE spec says otherwise... Looking at the code, I don't see the reason for this mismatch, but changing it now would break other people's code. I think the easiest is to just correct the document.
I'll fix the doc. I don't remember whether this is just a doc mistake or this was actually true in an older version of the code. But in any case the doc needs to be updated. Thanks for looking so closely at this.