I’m trying to post KDEvent between KDThreads.
When I use
" kdPostEvent(event);
current_event = kdWaitEvent(-1); "
I can get the KDEvent in the same thread.
But, when I use
" kdPostThreadEvent(event, kdThreadSelf());
current_event = kdWaitEvent(-1); "
I cannot get the KDEvent.
Is there any mistake I had made?
Thanks for your suggestion.