A query about push_back and pop_front

In reply to zz8318:

The clone or new construction should happen before the write in the monitor. Most likely you should be calling create() just before calling ap.write().

Dave