Me again with more basic questions. I’m trying to get the VNC to work, but i’m running into issues with stuff happening under the hood I don’t have access to. I borrowed the source code off of github so I could step through and see what was going on, but I’m having issues with the thread that runs the VncServer object permanently suspending on its own - there are no function calls to suspend this thread for more than a few ms at a time, but it seems after heavy traffic (moving the mouse around mostly) the thread will kill itself and will not restart. If i don’t move the mouse onto the screen, it works great, but as soon as it’s getting a bunch of mouse data it quits. All my code is using is the demo code on github with a little extra stuff to run a physical screen.
The objects still think they’re connected and open, but their code isn’t being executed so the VNC viewer will lose connection. Where should I start looking? troubleshooting multithreaded code is a bit of a bear. it’s also slowing my main thread to a crawl when it is in this state, so my best guess is there is some blocking call somewhere, but I don’t understand why that would keep my main thread from running too - especially when these are the only two running threads and one is suspended.
Edit - I learned that the ethernet port itself is also running on another thread, would that have any bearing on this?