Strange code in wxMicroSleep

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

Regards,
Andy Robinson, Seventh String Software, www.seventhstring.com
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list