This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cyg_io_write


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]