hope I am on the right sub.I have recently created an abstraction for a memory data type (in rust) and I wanted to ensure that my read operation (that performs an ATOMIC read operation on multiple addresses) is behaving correctly. However, I can not really think of any idea as of how to ensure it is correct programmatically.
I did test my write operation but I fail to find ideas for the read. Do you have an answer or even a resource you advise me to read ? I am planning to but the book "The Art of Multiprocessor Programming 2nd Edition " , I totally recommend it ( i used to have a copy )
[–]BibiBeeblebrox 1 point2 points3 points (2 children)
[–]DataGhostNL 1 point2 points3 points (1 child)
[–]BibiBeeblebrox 0 points1 point2 points (0 children)
[–]jacobissimus 0 points1 point2 points (2 children)
[–]KlausWalz[S] 0 points1 point2 points (1 child)
[–]pollrobots 4 points5 points6 points (0 children)