(try 5)[1/4] imm32: Move thread data from TLSEntry to an internal list

Aric Stewart aric at codeweavers.com
Wed Sep 25 08:37:55 CDT 2013


On 9/25/13 7:11 AM, Nikolay Sivov wrote:
> On 9/25/2013 16:03, Aric Stewart wrote:
>> +    if (!thread_data->defaultContext)
>> +    {
>> +        HIMC defaultContext;
>> +        LeaveCriticalSection(&threaddata_cs);
>> +        defaultContext = ImmCreateContext();
>> +        thread_data = IMM_GetThreadData(0);
> Why do you need to unlock/lock around ImmCreateContext()? Is it related to SendMessage() it calls?
> 
> 

Correct, it is related to the SendMessage call.

-aric



More information about the wine-devel mailing list