projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: don't sleep(1) on the consumer ready flag
[lttng-tools.git]
/
src
/
bin
/
lttng-consumerd
/
lttng-consumerd.c
diff --git
a/src/bin/lttng-consumerd/lttng-consumerd.c
b/src/bin/lttng-consumerd/lttng-consumerd.c
index d9ec0f33efc4cbb0453f91ba479db9e550bd8ed8..e226ebc69e973eb34faa74d7a1be56ab7c3ab090 100644
(file)
--- a/
src/bin/lttng-consumerd/lttng-consumerd.c
+++ b/
src/bin/lttng-consumerd/lttng-consumerd.c
@@
-426,7
+426,7
@@
int main(int argc, char **argv)
* sessiond thread reply to the sessiond that we are ready.
*/
while (uatomic_read(<tng_consumer_ready)) {
-
sleep(1
);
+
usleep(100000
);
}
cmm_smp_mb(); /* Read ready before following operations */
This page took
0.023659 seconds
and
4
git commands to generate.