Fix: don't sleep(1) on the consumer ready flag
authorDavid Goulet <dgoulet@efficios.com>
Wed, 5 Feb 2014 22:40:59 +0000 (17:40 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Mon, 10 Feb 2014 19:55:18 +0000 (14:55 -0500)
commit1f3130d5f91951f84ccb985ca66c2c6cb6816984
tree2ab060cf4bd615b1f3bd0f13260aff773707a803
parentca741d243ae877c1acfaaadafbf4e7d98cea7c48
Fix: don't sleep(1) on the consumer ready flag

This is way too long on especially when the first command that spawn the
consumer as to wait a full second on powerful system.

Bring this down to 0.1 sec sleep by using usleep().

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-consumerd/lttng-consumerd.c
This page took 0.026431 seconds and 5 git commands to generate.