From: MagellanPro <mag...@us...> - 2005-06-29 19:20:27
|
Update of /cvsroot/robotflow/RobotFlow/Devices/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3112 Modified Files: SNCRZ30RS232.cc Log Message: avoiding waiting on ack receive mutex Index: SNCRZ30RS232.cc =================================================================== RCS file: /cvsroot/robotflow/RobotFlow/Devices/src/SNCRZ30RS232.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** SNCRZ30RS232.cc 28 Jun 2005 19:31:57 -0000 1.2 --- SNCRZ30RS232.cc 29 Jun 2005 19:20:13 -0000 1.3 *************** *** 182,188 **** // lock... wait for ack signal before sending... Unlock is done in receive() ! pthread_mutex_lock(&m_ack_lock); // Wait for a buffer to be freed up by the cam ! pseudosem_wait(&m_buffer_empty); --- 182,188 ---- // lock... wait for ack signal before sending... Unlock is done in receive() ! //pthread_mutex_lock(&m_ack_lock); // Wait for a buffer to be freed up by the cam ! //pseudosem_wait(&m_buffer_empty); |