Lock a sequencer from virtual sequence

In reply to cgales:

Hi cgales,

Thanks for the reply. sqa.start(p_sequencer.seqr); is not executing at all. only seqb is completed and the test is getting killed. If I remove the lock on the sequencer, both sequences are interleaving.

In all the examples, I referred to, the lock is always called from the body of a sequence which is generating seq_items. Is it not possible to call lock from a virtual sequence as in my case?