[Mono-dev] Mutex Bug

Brandon Perry bperry.volatile at gmail.com
Wed Jul 2 20:24:14 UTC 2014

You could use dbus if you don't care about windows.

On Wed, Jul 2, 2014 at 3:21 PM, Edward Ned Harvey (mono) <
edward.harvey.mono at clevertrove.com> wrote:

> > From: Zoltan Varga [mailto:vargaz at gmail.com]
> >
> >   mono used to support this functionality, but the code to do that was
> very
> > problematic, and it is disabled in recent mono releases.
> Thanks - So - Here's what I'm trying to do.
> Multiple processes want to read and modify a file, but the file must be
> locked by a single process at any given time.  I can easily open the file
> with exclusive read/write lock in a single process, and that will block any
> other process from being able to open the file...  But as soon as I close
> the file in the first process I want to signal the second process it's ok
> to try again.
> It seems, there is no way to signal another process?  I just have to tell
> each process to try opening the file, and if failed, then sleep and repeat?
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20140702/5d061e5e/attachment.html>

More information about the Mono-devel-list mailing list