Strange code in wxMicroSleep

Andy Robinson andy at
Fri Jun 26 16:30:15 UTC 2020

I accidentally noticed this in utilsunx.cpp, wxMicroSleep

// under BeOS sleep() takes seconds (what about other platforms, if any?)
sleep(microseconds * 1000000);

Looks to me like this code would only be correct if BeOS (whatever that 
is) takes picoseconds.

Andy Robinson, Seventh String Software,

More information about the gstreamer-devel mailing list