public YPipe(int qsize, string name) { m_name = name; m_queue = new YQueue <T>(qsize); m_lastAllowedToReadIndex = m_flushFromIndex = m_readToIndex = m_flushToIndex = m_queue.BackPos; }