This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: CYG_TRACE thread safe?
- To: rob dot wj dot jansen at philips dot com
- Subject: Re: [ECOS] CYG_TRACE thread safe?
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Thu, 12 Jul 2001 09:08:15 +0100
- Cc: tadams at extremeeng dot com, ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <OFC5C9FCF5.22EB50CA-ONC1256A87.002A274D@diamond.philips.com>
rob.wj.jansen@philips.com wrote:
>
> Trenton,
>
> > I'm wondering if CYG_TRACEx is thread safe! Is it?
> >
> > My driver was locking up in a DSR. Now that TRACING and ASSERTIONS
> > aren't working my program doesn't lock up.
>
> Are you using CYG_TRACEx from within the DSR ?
> I'm not sure if it is safe to use tracing from within DSRs (Jonathan ?).
I was going to say yes, but it just occurred to me that what probably
_doesn't_ work is tracing when you are debugging over ethernet because
interrupts get disabled. The hardware might get all worked up for various
reasons.
If that's what Trenton is doing, that could be the problem.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions http://www.redhat-techworld.com/