From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14288 invoked by alias); 20 Jun 2005 15:54:35 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 14008 invoked by uid 22791); 20 Jun 2005 15:54:08 -0000 Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 20 Jun 2005 15:54:08 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1DkOb8-0006OX-01 from Khurram_Ali@mentor.com for ecos-discuss@ecos.sourceware.org; Mon, 20 Jun 2005 08:54:06 -0700 Received: from SVR-ALH-EXC-02.mgc.mentorg.com ([134.86.109.198]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 20 Jun 2005 08:54:03 -0700 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Date: Mon, 20 Jun 2005 15:54:00 -0000 Message-ID: <32A0F6EE19ECF646A9CF370C3AB15EBE016A8A7E@SVR-ALH-EXC-02.mgc.mentorg.com> From: "Ali, Khurram" To: "eCos Discussion" Subject: [ECOS] POSIX Queue Suspension X-SW-Source: 2005-06/txt/msg00174.txt.bz2 Hello, I have two POSIX threads that are waiting to receive on a POSIX queue. Thread L suspends on the queue first. Thread K then suspends on the queue. However, when Thread J sends an element to the queue. Thread K is resumed first.=20 All threads have the same priority. All queue accesses are also made with the same priority. Shouldn't Thread L be resumed first.=20 What could I be doing wrong? Appreciate any help. Thank you, Khurram --------------------------------------- M. Khurram Ali - khurram_ali@mentor.com=20 Software Engineer Accelerated Technology, A Mentor Graphics Division 739 North University Blvd.=20 Mobile, AL 36608 www.mentor.com/embedded --------------------------------------- -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss