From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18407.43111.568301.509775@domain.hid> Date: Mon, 24 Mar 2008 14:11:03 +0100 In-Reply-To: <10023.62.39.72.60.1205940829.squirrel@domain.hid> References: <16201.81.252.86.91.1205764989.squirrel@domain.hid> <18400.53752.538963.384358@domain.hid> <6621.81.252.86.91.1205927700.squirrel@domain.hid> <2ff1a98a0803190613r7572d87eibef16aecf39ef71a@domain.hid> <10023.62.39.72.60.1205940829.squirrel@domain.hid> From: Gilles Chanteperdrix Subject: Re: [Xenomai-help] Application crash List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fabien MAHOT Cc: xenomai@xenomai.org Fabien MAHOT wrote: > >> Are you sure this is the right .config ? I see that priority coupling > >> is enabled. > > > > I want the priority coupling be enabled. (I have a problem when it was > > disabled : I have a main thread with highest priority which creates other > > threads. When all the threads are created, the main thread reduces its > > priority at the minimum, broadcats a condition and unlock the associated > > mutex to start the other threads . But, after that main thread unlocks the > > mutex, it stays a short while in execution in spite of its priority) > > ---> I make a mistake, when Main thread reduces its priority at the > minimum (with pthread_setschedparam), it's not preempted by a thread which > has an higher priority and which is ready to run. > > > Could you try to run my program on your arm with enabled priority > coupling, please? I see that you have the interrupt shield enabled, could you try and disable it ? The thread "thread2" never suspends, with the interrupt shield enabled, it means that Linux will never heandle its IRQs. -- Gilles.