ServerRepository threadnet bugged?

When threadNet for ServerRepository is set to true panda consumes as much cpu as it can and ignores any other setting like yield timeslice, client sleep, basesetsleep etc. Also exiting window or control-c in terminal refuse to fully kill the process. I have to either close the terminal or kill the process using the kill command.

Yes, this is true. It’s not so much a bug in ServerRepository as it is a consequence of Panda’s default “SIMPLE_THREADS” threading model.

I suggest not setting threadedNet during development, unless you have built a custom version of Panda that is compiled to use true OS threads.


What’s this ServerRepository and what’s the difference between it and the server distributed with Panda public’s version ?

It is CMU’s server for the distributed network netcode.