This is the mail archive of the
ecos-devel@sourceware.org
mailing list for the eCos project.
Twothreads.c without cyg_thread_delay
- From: David Luca <davidluca3000 at yahoo dot com>
- To: ecos-devel <ecos-devel at sourceware dot org>, ecos-discuss <ecos-discuss at sourceware dot org>
- Date: Fri, 24 Nov 2006 05:29:44 -0800 (PST)
- Subject: Twothreads.c without cyg_thread_delay
- 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= ;
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