Strange code in wxMicroSleep

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Strange code in wxMicroSleep

Andy Robinson
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
[hidden email]