From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29099 invoked by alias); 16 Feb 2006 16:45:52 -0000 Received: (qmail 28985 invoked by uid 22791); 16 Feb 2006 16:45:51 -0000 X-Spam-Check-By: sourceware.org Received: from otoro.itis.ethz.ch (HELO otoro.itis.ethz.ch) (129.132.24.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 16 Feb 2006 16:45:49 +0000 Received: from localhost (localhost [127.0.0.1]) by otoro.itis.ethz.ch (Postfix) with ESMTP id 0D6085B38D; Thu, 16 Feb 2006 17:45:47 +0100 (MET) Received: from otoro.itis.ethz.ch ([127.0.0.1]) by localhost (otoro [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21593-05-5; Thu, 16 Feb 2006 17:45:46 +0100 (MET) Received: from cadpad (itis-speag-090-dhcp.itis.ethz.ch [129.132.24.90]) by otoro.itis.ethz.ch (Postfix) with SMTP id 6A6875B38C; Thu, 16 Feb 2006 17:45:46 +0100 (MET) Message-ID: <016101c63318$a0311240$5a188481@haus.hellmutstrasse.ch> Reply-To: "oliver munz @ s p e a g" From: "oliver munz @ s p e a g" To: "Derek Bouius" , Cc: References: <20060216161521.EVVS4713.tomts43-srv.bellnexxia.net@derekwin> Date: Thu, 16 Feb 2006 16:45:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 0607-1, 14.02.2006), Outbound message X-Antivirus-Status: Clean 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 Subject: Re: [ECOS] How to debug synchronisation in the usbs.c in a new usb-driver for the ARM at91sam7s... X-SW-Source: 2006-02/txt/msg00160.txt.bz2 Thanks for the solution... Does this work whitout kernel? Would it be better to use event-flags? Thanks Oliver Munz ----- Original Message ----- From: "Derek Bouius" To: ; Cc: Sent: Thursday, February 16, 2006 5:15 PM Subject: Re: [ECOS] How to debug synchronisation in the usbs.c in a new usb-driver for the ARM at91sam7s... >I am not registered for the mailing list, but peruse it once in a while, so >I am not sure if my mail will go through to it. Feel > free to repost it if it doesn't. > What we did to fix the locking issue was change the mutex to a semaphore. > See the patch. It seems to work reliably. > > Cheers, > > Derek > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss