This is the mail archive of the
mailing list for the eCos project.
problem with cyg_thread_release
- From: Christoph Csebits <christoph dot csebits at frequentis dot com>
- To: ecos discuss list <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 8 Jan 2004 16:42:24 +0100
- Subject: [ECOS] problem with cyg_thread_release
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.
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss