Add reader_t
Implement reader_t interface for memreader_t
Implement reader_t interface for ringbuf_t
Make vtables const
Add MinGW support
Add queue_t
Merge branch 'coverity_scan'