Looking for a specific data structure
Hey,
I'm looking for a datastructure like a ordinary queue, it just need support for adding items with a timeout in seconds. When the given timeout occurs the item should automatically be removed from the queue.
Any ideas ?