[SCIM] SCIM die when I use XInitThreads().

LiuCougar liucougar at gmail.com
Wed Nov 10 04:28:59 PST 2004


>From the manual:
The XInitThreads function initializes Xlib support for concurrent
threads. This function must be the first Xlib function a
multi-threaded program calls, and it must complete before any other
Xlib call is made. This function returns a nonzero status if
initialization was successful; otherwise, it returns zero. On systems
that do not support threads, this function always returns zero.


On Wed, 10 Nov 2004 10:19:50 +0900, 김성남 <kittysnk at nate.com> wrote:
>  
> 
> My sample program die while inputting on XmTextWidget when I used
> "XInitThreads()" funtion.
> 
> 
> 
> I have tested with three methods.
> #1. NG
> $export LC_CTYPE=zh_CN
> int main()
> {
> ....
> XInitThreads();
> ....
> XtVaCreateManagedWidget(..xmTextWidgetClass...);
> }
> #2. GOOD WORK
> $export LC_CTYPE=zh_CN
> int main()
> {
> ....
> XtVaCreateManagedWidget(..xmTextWidgetClass...);
> }
> #3. GOOD WORK, but I could not use Chinese IM.
> $export LC_CTYPE=en_US
> int main()
> {
> ....
> XInitThreads();
> ....
> XtVaCreateManagedWidget(..xmTextWidgetClass...);
> }
> It seems that problem is XInitThreads and Locale...
> How can I fix it?, Please, help me.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  
> 새로운 형태의 이포스트카드 서비스 
> 
> 예쁜 우편 엽서로 마음을 전달
>   
> 인터넷 속 나만의 자유 공간, 블로그 
> 
> 나를 진정 사랑하는 방법입니다!
> 
> _______________________________________________
> scim mailing list
> scim at freedesktop.org
> http://freedesktop.org/mailman/listinfo/scim
> 
> 
> 


-- 
"People's characters are strengthened through struggle against
difficulties; they are weakened by comfort."
- Old Chinese adage


More information about the scim mailing list