This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: cyg_io_write
- To: bob dot koninckx at mech dot kuleuven dot ac dot be
- Subject: Re: [ECOS] cyg_io_write
- From: andrew dot lunn at ascom dot ch (Andrew Lunn)
- Date: Wed, 28 Jun 2000 17:43:16 +0200 (MET DST)
- Cc: gthomas at redhat dot com, airlied at parthus dot com, ecos-discuss at sourceware dot cygnus dot com
> Might be an idea do modify the cyg_mutex_t behaviour in such a way that
> a call to cyg_mutexc_lock doesnt do anything if it is called from the
> thread that already owns the lock.
If you turn on assertions it will tell you about this. You get an
assertion failure. eCos is quite good at telling you things like this
once the assertions are enabled. Its saved me lots of time finding
this sort of bugs.
Andrew