Skip navigation.
Home
The QNX Community Portal

View topic - pc response become slow

pc response become slow

Isn't the name clear?

pc response become slow

Postby rlaks59 » Thu Sep 11, 2003 5:31 am

Hi

When i receive msg from comport using read() command in a photon application, the pc response become very slow?

what could be the reason?

regards
R.Lakshmanan
rlaks59
Active Member
 
Posts: 37
Joined: Sat Aug 30, 2003 3:45 am

Postby rgallen » Thu Sep 11, 2003 3:11 pm

Your program goes into a loop ?

Without more info that's the only guess I can make.
rgallen
QNX Master
 
Posts: 671
Joined: Thu Jul 11, 2002 6:48 pm

Postby cdm » Thu Sep 11, 2003 5:09 pm

Yeah - when/how are you doing the read in the photon app? If you aren't using a second thread to do the reading you will be making the Photon app behave poorly. You can also go the route of using PtAppAddFd() to perform a select() like callback.
cdm
QNX Master
 
Posts: 789
Joined: Fri Jul 05, 2002 9:38 am


Return to GUI Programming

Who is online

Users browsing this forum: No registered users and 1 guest