RDLONG and WRLONG to the HUB from two different COGs
Well, that about says it. But, to explain further. First of all I am coding in PROPBASIC. One COG is dedicated to the LCD display. It only RDLONG(s) data from a particular location(s) in the HUB in a continous DO/LOOP. These "location(s)" along with many others are listed before the "PROGRAM" start.
Now, in four other COG(s), there is also DO/LOOP(s) running gathering time and temperature data. This data is then being WRLONG to the same location(s) that the RDLONG above is "reading"
Question...what happens if a RDLONG and a WRLONG in two or three different COG(s) are to the same location in the HUB, happens at the exact same time? Does the data get corrupted? Or is it "first come, first serve"?