"idle" task loop?

Is there any way to make the task manager loop not be so cpu-busy, without modifying the panda code itself?

I only have one task that just checks if there are datagrams waiting to be processed, and when I run the program, it uses as much CPU is available up to 99%. (I’m not using the renderer either.)

Edit: Right now I’m using a task that sleeps for 0.01 seconds, and that works great. I was just wondering if there was a more “official” method.

If you set:

client-sleep 0.01

in your Config.prc file, Panda will start up a task that sleeps for the indicated time, achieving the same effect.