
It's 2025 and I am still not 100% sure how to have #PyGame go to sleep and wait for either an event from the keyboard/mouse/controller or an event from the network or a vblank interrupt without some kind of hard-coded polling timeout. Various attempts I've made at this in the past have violated thread safety rules and I'm not sure the documentation even covers all the constraints I need to preserve. #python