Forum: Poser Python Scripting


Subject: Calling ADP (or anyone else that can help) : re UDPServer

mathman opened this issue on May 03, 2009 · 22 posts


Dizzi posted Thu, 07 May 2009 at 1:43 PM

Quote - Frankly, I don't like to use Sleep because I've got the feeling I'm wasting the CPU.

Well, what do you have against sleep? Just sleep 1ms, but don't use a loop with GetTickCount(). A GHz CPU will call GetTickCount() millions of times getting back the same ms value... That's bad ;-)