hu xiaohua
06/23/2009 10:08 AM
post32310
|
お疲れ様です。はじめまして、よろしくお願いいたします。
QNX6.4.0上でkdwindowを作って、sub threadを生成して、イベントをsub threadからkdwindowまでポストします。プロセスは下記であ
る
1.EGL get display (ok)
2.EGL initialize(ok)
3.choose config by EGL(ok)
4.kdCreateWindow(ok)
5.kdRealizeWindow(ok)
6.kdThreadCreate(ok)
6.1 kdCreateEvent(ok)
6.2 set event data(0k)
6.3 kdPostWindowEventQNX(NG)
7.kdWaitEvent(event nothing)
※6.1 6.2and 6.3 is sub thread process
6.3のエラー番号は31、内容は(KD_EOPNOTSUPP)operation not supported.
問題点:
①どうやってこのエラーをクリアですか?
②スレッドの中でイベントをポスト方法がある?
※スレッドからスレッドまでもいい
※スレッドからkdwindowまでもいい
ありがとうございます。
|
|
|