A query about push_back and pop_front

and if the push_back() is not in write() but in another normal task, what should I do ? Am I still using the clone to solve this problem ?