From: Christoph Permes Date: Tue, 01 Sep 2009 17:00:03 +0200 Message-Id: <1251817203.4304.12.camel@domain.hid> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain Subject: [Xenomai-help] Message queue flush List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org Hi, In my application I need to flush a queue if rt_queue_write returns -ENOMEM to prevent the consumer process from reading old data. Is there any function in the native api that flushes a message queue, like rt_pipe_flush for pipes? Thanks, Christoph