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

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Nov 10 17:25:10 CST 2010


http://bugs.winehq.org/show_bug.cgi?id=25108

           Summary: Critical sections used without calling the
                    initialization function
           Product: Wine
           Version: 1.3.6
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P2
         Component: ntdll
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: 8jmtfa1e at gmail.com


I was doing some experiments with dlls/ntdll/critsection.c trying to verify if
it was causing the huge performance penalty in Starcraft II.

My experiments stalled when I realized that some parts of wine used critical
sections without even bother calling RtlInitializeCriticalSection first. That's
an abomination and a great example of spaghetti code.

-- 
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