<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove(self, block_id):
 """Remove a Processing Block from the queue. Args: block_id (str):
 """

        with self._mutex:
            entry = self._block_map[block_id]
            self._queue.remove(entry)