I’ve managed to produce two interesting data structures:
- TOmniQueue (existing class TOmniQueue was renamed to TOmniBoundedQueue) is a dynamically allocated, O(1) enqueue and dequeue, threadsafe, microlocking queue. The emphasys is on dynamically allocated. In other words – it grows and shrinks!
- TOmniBlockingCollection is a partial clone (with some enhancements) of .NET’s BlockingCollection.
Have fun and happy new year to all Delphi programmers!