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>
Tue, 11 Feb 2014 19:58:46 +0000 (14:58 -0500)
commit1109579c445ed7f4a4466a4ec9ec1e06d005bc45
tree4d0c2a8a991c1b4771195638b13a02448fb2dbda
parent5fa23e49ffdbf8e29a3d8c3406f9d00c748863e1
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.025402 seconds and 4 git commands to generate.