From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25218 invoked by alias); 19 Dec 2003 06:04:03 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 25210 invoked from network); 19 Dec 2003 06:03:59 -0000 Received: from unknown (HELO calvin.codito.com) (203.199.140.162) by sources.redhat.com with SMTP; 19 Dec 2003 06:03:59 -0000 Received: from blackmagic (blackmagic.codito.co.in [192.168.100.37]) by calvin.codito.com (8.12.10/) with SMTP id hBJ62q1A007074; Fri, 19 Dec 2003 11:32:54 +0530 Message-ID: <00fd01c3c5f6$4fbeb1f0$2564a8c0@blackmagic> From: "sandeep" To: , "Ecos-Discuss" References: Date: Fri, 19 Dec 2003 08:09:00 -0000 Organization: Codito Technologies Pvt. Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: Re: [ECOS] Thread safe in libc file stream X-SW-Source: 2003-12/txt/msg00279.txt.bz2 > Can anybody comment on this? Am I missing something or is this a bug in > ecos? Anybody going to have an official solution for this? > > -----Original Message----- > From: ecos-discuss-owner@sources.redhat.com > [mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of Yuxin Jiang > Sent: Wednesday, December 10, 2003 11:56 AM > To: Ecos-Discuss > Subject: [ECOS] Thread safe in libc file stream > > It seems to me that the function cyg_libc_stdio_flush_all_but( > Cyg_StdioStream *not_this_stream ) is not thread-safe. === snipped ==== I haven't gone through your earlier mail thoroughly, but I suspect not-thread-safe code possibillities there in that section. Few days back (before readdir thread-safeness issue was suspected and posted on list, 12 Dec 2003) we had encountered an issue that was showing up in cyg_libc_stdio_flush_all_but, but on later analysis it was tracked down to beginning from readdir call (and going into details of your post got pushed down the stack wrt other chorus). I guess Nick might be too busy these days, otherwise he would have responded to earlier such posts analytically. In between you can analyse your observation and track the root cause of problem that is manifesting itself in the observed place. good luck sandeep -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss