There was some discussion on the list concerning Queue implementation. If you want you can check out http://thenut.eti.pg.gda.pl/~abies/classes/ for sample Queue and WaitQueue written by me - they are absolutely freeware, so you can do anything you want with them. They use array as storage, so they are more efficient that anything LinkedList/ArrayList based. WaitQueue is subclass of Queue which blocks on empty queue until input is available. I'm not sure if it should block on peek*(), but it is easy to modify if needed. Artur

