Why is there an EOF error when I try multiprocessing?


February 2019


19 time


In my text game, I was using threads for a real-time battle system. It worked, but it asked you for a load of inputs at the end if you were too slow at answering.

I tried to learn multiprocessing so I could terminate the threads and get rid of the extraneous inputs, but this made things worse. Now I get an EOFerror on the very first input, and it keeps looping this same input over and over.

I am very new to multiprocessing and I don't understand any of the websites I visited. Could someone please explain how to fix this bug, and what an EOFerror is, in terms that I can understand?

0 answers