Hello, I have an error that I have no idea how to fix or even what is going wrong here. I can only imagine that something is trying to be added or removed wronly from the linked list while im looping though it. Btu it does not seam like its trying to add things to the list while it running when i debug and print out actions it looks ok to me. Maybe im the switch staement is bad or something.
So this is what i have.
This is the real meat of the program that runs the processes in the linked list and calculates the service time and the wait time and moves them to a higher priority list if needed
I have this method for all for linked list so its pretty much the same for all just the last switch statement is different.
and here is where i run the methods calling them depending on robin starts out as one and the switch controlling that seams to work fine too
Thanks for any help with this
So this is what i have.
This is the real meat of the program that runs the processes in the linked list and calculates the service time and the wait time and moves them to a higher priority list if needed
I have this method for all for linked list so its pretty much the same for all just the last switch statement is different.
and here is where i run the methods calling them depending on robin starts out as one and the switch controlling that seams to work fine too
Thanks for any help with this