Hello All! On Mon, Aug 19, 2013 at 6:58 AM, Rafaël Carré <fun...@videolan.org> wrote: > Le 19/08/2013 11:58, Jacek Caban a écrit : >> ... >> Which exact APIs were problematic? I checked a few for which you removed >> guards, and they should be forbidden, so you probably change too much. > > EnterCriticalSection is allowed, although I just checked CreateMutex and > it is indeed forbidden.
I wonder what the reason for this distinction is. The only thing I can think of is that a windows mutex is a cross-process synchronization object (It can, of course, be used intraprocess, too.), while a windows mutex is a purely intraprocess synchronization object (used for synchronizing threads in a single multi-threaded process). Maybe windows-store apps aren't allowed to talk to one another (or interfere with one another). Maybe the problem is just that is a windows mutex is a heavier-weight os object, and store apps aren't allowed to bog the system down or use up heavier os resources. Or perhaps store apps are being required to be able to run on some other platform (rt? phone? not released yet?) that doesn't support windows mutexes. Or maybe the cross-process nature of the mutex (or a bug) produces some kind of security issue. I am just wondering what the philosophy behind the limitation is. Any thoughts? Thanks. K. Frank ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public