[ECOS] problem with cyg_thread_release

Christoph Csebits christoph.csebits@frequentis.com
Thu Jan 8 15:42:00 GMT 2004


there is a problem with cyg_thread_release():

Scenario: thread A is waiting to get a mutex in cyg_fp_free() in
file ./io/fileio/current/src/fd.cxx. Now thread A is released. 

FILEIO_MUTEX_LOCK returns with false, which is not handled and
further FILEIO_MUTEX_UNLOCK operates on a mutex, which the
thread does not own -> assertion.

regards, Christoph

Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

More information about the Ecos-discuss mailing list