From 06e1867307777ffa8686762ff3e42143d88b46ed Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 9 May 2006 08:38:37 +0000 Subject: Use pa_msleep() to get platform independence. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@833 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/tests/thread-mainloop-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests') diff --git a/src/tests/thread-mainloop-test.c b/src/tests/thread-mainloop-test.c index 24e18b37..1434deb9 100644 --- a/src/tests/thread-mainloop-test.c +++ b/src/tests/thread-mainloop-test.c @@ -63,7 +63,7 @@ int main(PA_GCC_UNUSED int argc, PA_GCC_UNUSED char *argv[]) { pa_threaded_mainloop_unlock(m); fprintf(stderr, "waiting 5s (sleep)\n"); - sleep(5); + pa_msleep(5000); fprintf(stderr, "shutting down\n"); -- cgit