[Bug 25108] Critical sections used without calling the initialization function

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Nov 11 06:57:36 CST 2010


--- Comment #5 from Dmitry Timoshkov <dmitry at codeweavers.com> 2010-11-11 06:57:36 CST ---
(In reply to comment #4)
> (In reply to comment #2)
> > Critical sections can be statically initialized instead of calling
> > InitializeCriticalSection(), that's perfectly acceptable.
> I would call it undefined behaviour. No one outside of critsection.c should
> know it's internal configurations.

I'd say that's up to an implementor. Especially since in the case of Wine
code the implementor and user of the API is the same "person".

> Even Microsoft agrees with me.

That's the documentation for the application programmers, not for the API

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list