Unify the APIs for ADT.Queue, Thread.Fifo and Thread.Queue.
Currently it is a bit cumbersome to eg switch between using ADT.Queue
and Thread.Queue
, since the former uses get()
& put()
while the latter uses read()
& write()
.
Note also that there are two implementations each for Thread.Fifo
and Thread.Queue
.