Update of /cvsroot/playerstage/code/player/server/drivers/mixed/p2os
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24553
Modified Files:
p2os.cc
Log Message:
when pulsing still perform blocking reads so we dont busy idle
Index: p2os.cc
===================================================================
RCS file: /cvsroot/playerstage/code/player/server/drivers/mixed/p2os/p2os.cc,v
retrieving revision 1.83
retrieving revision 1.84
diff -C2 -d -r1.83 -r1.84
*** p2os.cc 23 Aug 2007 19:58:45 -0000 1.83
--- p2os.cc 30 Oct 2007 20:39:38 -0000 1.84
***************
*** 1575,1586 ****
}
}
! else
! {
! // Hack fix to get around the fact that if no commands are sent to the
robot via SendReceive,
! // the driver will never read SIP packets and so never send data back
to clients.
! // We need a better way of doing regular checks of the serial port -
peek in sendreceive, maybe?
! // Because if there is no data waiting this will sit around waiting
until one comes
! SendReceive (NULL, true);
! }
}
}
--- 1575,1583 ----
}
}
! // Hack fix to get around the fact that if no commands are sent to the
robot via SendReceive,
! // the driver will never read SIP packets and so never send data back to
clients.
! // We need a better way of doing regular checks of the serial port - peek
in sendreceive, maybe?
! // Because if there is no data waiting this will sit around waiting until
one comes
! SendReceive (NULL, true);
}
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit