gochatai/pachi_py/pachi/distributed/protocol.c
/* Clear the receive queue. The buffer pointers do not have to be cleared
 * here, this is done as each buffer is recycled.
 * slave_lock is held on both entry and exit of this function. */
Clear the receive queue. The buffer pointers do not have to be cleared
here, this is done as each buffer is recycled.
slave_lock is held on both entry and exit of this function.
Clear the receive queue . The buffer pointers do not have to be cleared here this is done as each buffer is recycled . slave_lock is held on both entry and exit of this function .
void
clear_receive_queue(void)
{
	if (DEBUGL(3)) {
		char buf[1024];
		snprintf(buf, sizeof(buf), "clear queue, old length %d age %d\n",
			 queue_length, queue_age);
		logline(NULL, "? ", buf);
	}
	queue_length = 0;
	queue_age++;
}
void clear_receive_queue ( void ) { if ( DEBUGL ( 3 ) ) { char buf [ 1024 ] ; snprintf ( buf , sizeof ( buf ) , " \n " , queue_length , queue_age ) ; logline ( NULL , " " , buf ) ; } queue_length = 0 ; queue_age ++ ; }
Clear the receive queue.
Clear the receive queue .