Wait not working for uvm_tlm_analysis_fifo

In reply to verif_buff:

I do not understand what you want to do with this statement:

wait ((m_before_fifo.size() != 0) && (m_after_fifo.size() != 0)) ;

. The get methods are always blocking until a transaction is available. In my eyes it does not make any sense to work with the wait statement.