I have a semTake() function call in my application which returns with ERROR
and errno set to S_objLib_OBJ_ID_ERROR. Before this error occurs the
function works fine. I couldn't find a description for this error code, but
have some memory violation in mind. So what is the reason for returning this
error ?
Thanks for help.
Regards
Joachim
When you call a system function that takes a handle (e. g. a SEM_ID in your
case), VxWorks verifies that this is really what it should be (well, most of
the time).
So you probably have overwritten the memory used for the semaphore.
AFAIK (but not 100% sure), the SEM_ID is actually the address of this
storage.
The error should be documented with objLib (if such a help entry exists, I
don't have it at hand now)
hth
Werner
"Joachim Wittmann" <joachim....@gmx.de> wrote in message
news:a6aisd$d1a4m$1...@ID-99394.news.dfncis.de...