void Received( void ) { bool post = first; first = false; for( int i=0; i<axisCt; i++ ) { uint32 s = stat[i].Read(); if( s != newStat[i] ) post = true; newStat[i] = s; } if( post ) sem.Put(); }