According to the man page for pthread_kill, the return value is supposed
to be 0 on success and an error number (ESRCH, EINVAL) on error.
However, the eCos implementation is returning 0 on success and -1 on
error with errno set to the error number. It looks like the eCos
pthread_kill() function is using the SIGNAL_RETURN() macro when it
should be using the SIGNAL_RETURN_VALUE() macro.
Am I reading this correctly?
Jay
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss