diff options
author | Pierre Ossman <ossman@cendio.se> | 2006-05-09 08:38:37 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2006-05-09 08:38:37 +0000 |
commit | 06e1867307777ffa8686762ff3e42143d88b46ed (patch) | |
tree | cf2f100c9fbc088bdbb9381915f411e4fd7453e1 /src/tests | |
parent | df3306c4affdf31abce1bf2cf545b6ac8ecb0f10 (diff) |
Use pa_msleep() to get platform independence.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@833 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/thread-mainloop-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |