Fix: race with index file creation
authorJulien Desfossez <jdesfossez@efficios.com>
Fri, 14 Feb 2014 19:25:26 +0000 (14:25 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Fri, 14 Feb 2014 21:32:56 +0000 (16:32 -0500)
Only the data thread should create the index file since it is
responsible of filling the FD field of the index struct in memory.
When the control thread is ready to write the index, the FD is already
set.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>

No differences found
This page took 0.026358 seconds and 4 git commands to generate.