On Mon, Feb 07, 2011 at 02:18:28PM +0100, Petr Uzel wrote: > fcntl(2) does not work for synchronization of threads belonging > to the same process. Use flock(2) instead. > > http://marc.info/?l=util-linux-ng&m=129708412829971&w=2 > > Signed-off-by: Petr Uzel <petr.uzel@xxxxxxx> > --- > shlibs/uuid/src/gen_uuid.c | 11 ++--------- > 1 files changed, 2 insertions(+), 9 deletions(-) Applied, thanks. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html