removed (or marked as deprecated) operations that unsafe for concurrent modification of the queue