Skip navigation.
Home
The QNX Community Portal

View topic - How to send signals to PtMainLoop() thead

How to send signals to PtMainLoop() thead

Isn't the name clear?

How to send signals to PtMainLoop() thead

Postby amol.madane » Thu Dec 02, 2010 2:57 pm

Hi, I am new to QNX GUI Programming, I want to send a signal or non-Photon messages (inputs), to the thread which has PtMainLoop().

In fact I want to close the PtMainLoop() from other thread.

I have two threads in my programm, one is GUI thread, and other is background thread. GUI thread has PtMainLoop(), as soon as background thread completes its work, it has to inform GUI thread, and GUI thead quits.

Thanks in Advance.
amol.madane
Active Member
 
Posts: 24
Joined: Mon Dec 07, 2009 7:28 am

RE: How to send signals to PtMainLoop() thead

Postby mario » Thu Dec 02, 2010 6:22 pm

PtAppAddSignalProc(). There is also a nice section in the documentation ( yeap the documentation) about background thread.
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am


Return to GUI Programming

Who is online

Users browsing this forum: No registered users and 1 guest