From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 14 Sep 2015 12:03:25 +0000 (UTC) From: Frederik Bayart Message-ID: <1252191047.2961926.1442232205723.JavaMail.yahoo@mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: [Xenomai] how to check RT_MUTEX_INFO.owner Reply-To: Frederik Bayart List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "xenomai@xenomai.org" In the documentation of RT_MUTEX_INFO is described : RT_TASK owner : Current mutex owner, or null if unlocked. But this is not a pointer, so it can't be compared with NULL. Should you check RT_TASK.handle ? Frederik