[boost] Re: [Boost.Thread] mutex Win32 implementation changes
by Alexander Terekhov other posts by this author
Jul 19 2004 4:39PM messages near this date
Re: [boost] Re: [Boost.Thread] mutex Win32 implementation changes
|
[boost] Re: [Boost.Thread] mutex Win32 implementation changes
Peter Dimov wrote:
>
> Alexander Terekhov wrote:
> > Peter Dimov wrote:
> >
> >> Is a CRITICAL_SECTION "posix-safe"? A HMUTEX?
> >
> > I have no idea.
>
> Hm. It'd be useful to know whether your swap-based mutex >= CRITICAL_SECTION
> (minus the recursivity, of course).
It'd be useful to have authoritative pseudo-code of their
implementations (I mean all windows versions/service-packs/whatever).
We could analyze it, then. Again, you could easily make swap-based
mutex "posix safe" via indirection and reuse of impl. The race with
respect to the state of auto-reset event and impl reuse is harmless.
regards,
alexander.
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Michael Glassford
Alexander Terekhov
Alexander Terekhov
Alexander Terekhov
Peter Dimov
Alexander Terekhov
Alexander Terekhov
Alexander Terekhov
val salamakha
val salamakha
val salamakha
val salamakha
Peter Dimov
Alexander Terekhov
Peter Dimov
Alexander Terekhov
Peter Dimov
Peter Dimov
Alexander Terekhov
Peter Dimov
Alexander Terekhov
Alexander Terekhov
Alexander Terekhov
Alexander Terekhov
Alexander Terekhov
Michael Glassford
Alexander Terekhov
Michael Glassford
|