mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
Use platform independent sleep.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1394 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
7c6088d98a
commit
a85b3e2dd4
1 changed files with 2 additions and 1 deletions
|
|
@ -27,6 +27,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <pulse/util.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulsecore/flist.h>
|
||||
#include <pulsecore/thread.h>
|
||||
|
|
@ -92,7 +93,7 @@ int main(int argc, char* argv[]) {
|
|||
assert(threads[i]);
|
||||
}
|
||||
|
||||
sleep(60);
|
||||
pa_msleep(60000);
|
||||
quit = 1;
|
||||
|
||||
for (i = 0; i < THREADS_MAX; i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue