/* BarrierClient allows for multiple stream clients to be syncronized  */
void BarrierClient(ReportHeader *agent)
/* BarrierClient allows for multiple stream clients to be syncronized  */
void BarrierClient(ReportHeader *agent)
{
        gettimeofday( &(agent->multireport->startTime), NULL );
        Condition_Broadcast( &agent->multireport->barrier );
    } else {
        Condition_Wait( &agent->multireport->barrier );
    }
    agent->multireport->threads++;
    Condition_Unlock( agent->multireport->barrier );
    agent->report.startTime = agent->multireport->startTime;
    agent->report.nextTime = agent->report.startTime;
    TimeAdd( agent->report.nextTime, agent->report.intervalTime );
}