I'm after doing the code magnets exercise and after double checking the code i almost never get the results that are displayed.
It's always slightly different
I've tried longer and shorter sleep amounts but no avail. I've attached the code and I'd appreciate any help as it's got me stumped.
I just can't figure out how they're different. I've tried to step through it with eclipse and that's not working either.
Just seems to jump around. Anyone got any tips for debugging threaded apps?
Thank for any help at all,
Number of downloads: 38