From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24808 invoked by alias); 24 Nov 2006 13:29:57 -0000 Received: (qmail 24789 invoked by uid 22791); 24 Nov 2006 13:29:55 -0000 X-Spam-Status: No, hits=2.8 required=5.0 tests=AWL,BAYES_50,DK_POLICY_SIGNSOME,DK_POLICY_TESTING,DK_SIGNED,DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: sourceware.org Received: from web38712.mail.mud.yahoo.com (HELO web38712.mail.mud.yahoo.com) (209.191.125.88) by sourceware.org (qpsmtpd/0.31) with SMTP; Fri, 24 Nov 2006 13:29:46 +0000 Received: (qmail 41515 invoked by uid 60001); 24 Nov 2006 13:29:44 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=1OCU+Z3OESK7/YhAvpd1YFIVI5uDWCHMOMu72clIK3tiqdrTHDHrGNI10iWpH1GSTlnwF9fkpVImLa8E6ioIH7egtqnbxoiHVV0BuDXxhoGPrCFUMHo2uWtayV0upZREGd9/NNR4bcQ8anEgVVeLEFXQJPXUYSfGX8FAwpSeoOQ= ; Message-ID: <20061124132944.41513.qmail@web38712.mail.mud.yahoo.com> Received: from [86.34.3.57] by web38712.mail.mud.yahoo.com via HTTP; Fri, 24 Nov 2006 05:29:44 PST Date: Fri, 24 Nov 2006 13:29:00 -0000 From: David Luca Subject: Twothreads.c without cyg_thread_delay To: ecos-devel , ecos-discuss MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2006-11/txt/msg00028.txt.bz2 Hello, Today I started twothreads.c application, but I replaced printf(not working yet on my platform) with leds. My question is, without the cyg_thread_delay, is it possible to run concurrently the two threads? Because if I comment this function, only one task is running, I can see that only one led is turn on and off. Thank you in advance, David Luca. ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com