From: Tim Mayberry Date: Fri, 2 May 2014 10:21:17 +0000 (+1000) Subject: Use Glib::usleep in Editor::timefx_thread on Windows X-Git-Tag: 4.0-rc1~1601^2~1223^2~9 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=8a796bd5e1e1d43356474c4fa6b6c8d1a6be3cae;p=ardour.git Use Glib::usleep in Editor::timefx_thread on Windows --- diff --git a/gtk2_ardour/editor_timefx.cc b/gtk2_ardour/editor_timefx.cc index 2528c823b7..765030507b 100644 --- a/gtk2_ardour/editor_timefx.cc +++ b/gtk2_ardour/editor_timefx.cc @@ -403,7 +403,7 @@ Editor::timefx_thread (void *arg) */ #ifdef PLATFORM_WINDOWS - Sleep(2000); + Glib::usleep(2 * G_USEC_PER_SEC); #else struct timespec t = { 2, 0 }; nanosleep (&t, 0);