simple queue implementation on read write locks for benchmarking
simple queue implementation without locks, step 1