Strange code in wxMicroSleep

Andy Robinson andy at
Fri Jun 26 16:31:33 UTC 2020

SORRY! sent to wrong group.


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,
gstreamer-devel mailing list
gstreamer-devel at

More information about the gstreamer-devel mailing list