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


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

what could be the reason?

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.
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.
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 3 guests