From: Ulrich Schwab Date: Tue, 8 Nov 2005 11:22:05 +0100 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200511081122.05916.schwab@domain.hid> Subject: [Xenomai-core] rt_task_receive DOKU List-Id: "Xenomai life and development \(bug reports, patches, discussions\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org Hello, here is a patch, making the doku of rt_task_receive() more complete. diff -Nru xenomai-2.0-orig/skins/native/task.c xenomai-2.0-devel/skins/native/task.c --- xenomai-2.0-orig/skins/native/task.c 2005-10-08 16:26:07.000000000 +0200 +++ xenomai-2.0-devel/skins/native/task.c 2005-11-08 11:00:27.000000000 +0100 @@ -1788,6 +1788,8 @@ * and no remote task is currently waiting for sending a message to * the caller. * + * - -ETIMEDOUT is returned if no message was received within the @a timeout. + * * - -EINTR is returned if rt_task_unblock() has been called for the * caller before any message was available. * -- ==================================================== inmess GmbH Frankfurter Str. 74 D - 64521 Gross-Gerau Phone: +49 6152 97790 Fax : +49 6152 977920 mail : info@domain.hid web: www.inmess.de ====================================================