Update readerwriterqueue and fix examples