Strange code in wxMicroSleep

Andy Robinson andy at seventhstring.com
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.

Regards,
Andy Robinson, Seventh String Software, www.seventhstring.com


More information about the gstreamer-devel mailing list