|
Failed to post event by kdPostWindowEventQNX
|
06/23/2009 9:44 AM
post32300
|
Failed to post event by kdPostWindowEventQNX
Hi, everyone!
I want to post an event from a thread to the window(or thread) that created by kdCreateWindow.The environmoment of
platform is QNX 6.4.0 and HP(x86)PC. The process is:
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.3error id is 31(KD_EOPNOTSUPP)operation not supported.
My question:
1.How to clear the error?
2.There is another method to post a event from thread to window(or thread)?
|
|
|