This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

pthread_kill return value


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]