#Possible Race Condition?
29 messages · Page 1 of 1 (latest)
What is the difference between the two outputs?
Cause unless I just copied the wrong file, this is what I get
Ah nevermind, I did in fact mess up the copying
rerunning with the same test
results in varied outputs
sometimes it passes and sometimes it does not
another example
Yeah, the order is a little messed up, probbaly due to incorrect locking
yeah, the problem being i cant figure out for the life of me, where .
Any idea where i went wrong?
bit hard to see rn, cause I'm only on my laptop and in the library.
I'll try to get back to it once I get to my big monitor at home
Oki OKi
Idk, it's kinda awkward to read since it isn't even clearly marked what your code even is.
There's just a Start of provided code at the beginning and then suddenly it says Your Code ends here, which is really confusing.
On top of that there's a lot of stuff missing for anyone to be able to test-run this themselves.
Nice to see a fellow German though (figured you're one because of the Rechnernetze und Verteilte Systeme comment)
Although our course was called Grundlagen: Rechnernetze und Verteilte Systeme (or the most atrocious acronym: GRNVS)
ah hehe
yeah, I didn't send all of it.
It has other files and a test run case
This is my implementation of the ring buffer.
It passes all the provided tests though
(threaded, unthreaded, wrap, nowrap simple and complex tests)
sometimes the third file isn't the same
sometimes the first isnt
file 1 again