Date: Wed, 22 Dec 2010 13:38:27 +0100 (CET) From: Kolja Waschk In-Reply-To: Message-ID: References: <4D110810.1090504@domain.hid> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: "Kolja Waschk,,," Subject: Re: [Xenomai-help] gdb/gdbserver hangs during rt_task_create Reply-To: Kolja Waschk List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Xenomai GNA > Further investigation showed that (wrapped) pthread_cond_wait actually > returns EPERM instead of waiting, but only when running with gdb(?) I verified that all used mutexes and condition variables have been created successfully and the ctx->mutex was just locked successfully by the thread calling pthread_cond_wait. For some reason, GDB doesn't let me step further into pthread_cond_wait so I cannot determine a good reason for EPERM. Kolja