This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
how to get mutex owner?
- To: "Ecos-List (E-mail)" <ecos-discuss at sourceware dot cygnus dot com>
- Subject: [ECOS] how to get mutex owner?
- From: Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>
- Date: Wed, 2 Aug 2000 18:34:21 -0700
Hi,
I'm trying to access the owner of a mutex. I'm working in C only.
The mutex struct is not documented but I saw in source code that there was a
owner field. Unfortunately the type of this field is "cyg_thread" and I
didn't find any docuementation for this thread structure. And I can't find
it in the source neither.
I'm also looking for a way to access the thread state. AFAIK there is no
such function in the C API.
Thank You
A+
--
Fabrice Gautier
fabrice_gautier@sdesigns.com