Ignore:
Timestamp:
Jun 18, 2009, 6:27:45 PM (16 years ago)
Author:
ydario
Message:

Minor updates, backout imm changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/thread.cpp

    r21302 r21308  
    3434#include <handlemanager.h>
    3535#include <codepage.h>
     36#include <heapstring.h>
    3637
    3738#include "hmhandle.h"
     
    4849
    4950static ULONG priorityclass = NORMAL_PRIORITY_CLASS;
     51
     52#define MQP_INSTANCE_PERMQ              0x00000001 // from os2im.h
    5053
    5154//******************************************************************************
     
    689692    dprintf(("Win32ThreadProc: hab %x hmq %x", winteb->o.odin.hab, winteb->o.odin.hmq));
    690693    dprintf(("Stack top 0x%x, stack end 0x%x", winteb->stack_top, winteb->stack_low));
     694
     695    if( IsDBCSEnv())
     696        /* IM instace is created per message queue, that is, thread */
     697        OSLibImSetMsgQueueProperty( winteb->o.odin.hmq, MQP_INSTANCE_PERMQ );
    691698
    692699    //Note: The Win32 exception structure referenced by FS:[0] is the same
Note: See TracChangeset for help on using the changeset viewer.