projects
/
profile
/
ivi
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7c6088d
)
Use platform independent sleep.
author
Pierre Ossman
<ossman@cendio.se>
Mon, 11 Sep 2006 07:54:41 +0000
(07:54 +0000)
committer
Pierre Ossman
<ossman@cendio.se>
Mon, 11 Sep 2006 07:54:41 +0000
(07:54 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1394
fefdeb5f
-60dc-0310-8127-
8f9354f1896f
src/tests/flist-test.c
patch
|
blob
|
history
diff --git
a/src/tests/flist-test.c
b/src/tests/flist-test.c
index
b040444
..
abc0659
100644
(file)
--- a/
src/tests/flist-test.c
+++ b/
src/tests/flist-test.c
@@
-27,6
+27,7
@@
#include <stdlib.h>
#include <unistd.h>
#include <stdlib.h>
#include <unistd.h>
+#include <pulse/util.h>
#include <pulse/xmalloc.h>
#include <pulsecore/flist.h>
#include <pulsecore/thread.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]);
}
assert(threads[i]);
}
-
sleep(6
0);
+
pa_msleep(6000
0);
quit = 1;
for (i = 0; i < THREADS_MAX; i++)
quit = 1;
for (i = 0; i < THREADS_MAX; i++)