any function that works based on last-item-read should not be called while this is running, like in another thread...
Arguments:
toRemove is the data to search for and delete
count is the number of times to search for it and delete it again. if 0, every element which is ==toRemove is deleted
finds an element, if found, deletes it
any function that works based on last-item-read should not be called while this is running, like in another thread...
Arguments: toRemove is the data to search for and delete count is the number of times to search for it and delete it again. if 0, every element which is ==toRemove is deleted