Boost logo

Boost Users :

From: Bruno Martínez (br1_at_[hidden])
Date: 2006-09-17 13:28:33


On Fri, 15 Sep 2006 14:57:14 -0300, Daher <dee_at_[hidden]> wrote:

> I need to perform disk activity to a shared file across multiple
> instances of my program... my program was originally written using
> windows API and I'm porting it to other systems. and I'm using
> boost.thread for my threads.. Any way to create a global mutex? on
> windows all you need to do is provide "Global\" Prefix to the mutex name.

I think you can simply use a global mutex object.

Bruno


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net