$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Boost interprocess named mutexes
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2009-08-17 03:13:29
Mike Spertus escribió:
> Sorry, I misread that doc page. You are of course correct. What do you
> think of my suggestion to use a Windows mutex to back a boost
> interprocess named mutex? Since "abandoned Windows mutexes" are
> automatically released by Windows, we see substantially fewer hangs when
> we use Windows mutexes.
Windows named mutexes have reference-counted semantics, so they
disappear when the last attached process dies, so they are not ompatible
with POSIX lifetime semantics.
Best,
Ion