remove
Removes the first occurrence in the queue of the specified element Automatically collects waiting time statistics and number in queue statistics. If the queue does not contain the element then it is unchanged and false is returned
Return
True if the item was removed.
Parameters
q Obj
The object to be removed
wait Stats
Indicates whether waiting time statistics should be collected on the removed item, true means collect statistics