Hi,

On Wed, Oct 26, 2011 at 12:33 PM, Philippe Gerum <[email protected]> wrote:
> On 10/26/2011 12:26 PM, Thomas De Schampheleire wrote:
>>
>> Hi,
>>
>> On Wed, Oct 26, 2011 at 12:19 PM, Philippe Gerum<[email protected]>  wrote:
>>>
>>> On 10/19/2011 09:35 AM, Thomas De Schampheleire wrote:
>>>>
>>>> Signed-off-by: Thomas De
>>>> Schampheleire<[email protected]>
>>>> Signed-off-by: Ronny Meeus<[email protected]>
>>>>
>>>> ---
>>>>  include/psos/psos.h |  1 +
>>>>  1 files changed, 1 insertions(+), 0 deletions(-)
>>>>
>>>> diff --git a/include/psos/psos.h b/include/psos/psos.h
>>>> --- a/include/psos/psos.h
>>>> +++ b/include/psos/psos.h
>>>> @@ -97,6 +97,7 @@
>>>>  #define ERR_OBJDEL   0x05
>>>>  #define ERR_OBJID    0x06
>>>>  #define ERR_OBJTYPE  0x07
>>>> +#define ERR_OBJTFULL 0x08
>>>>  #define ERR_OBJNF    0x09
>>>>
>>>>  #define ERR_NOTCB    0x0E
>>>
>>> Where is this error code used in the Xenomai tree? Can't find it right
>>> now.
>>
>> It's not used in the Xenomai code itself, but it may be used by
>> applications.
>> The definition is absent both in Xenomai as Xenomai-forge.
>>
>> ~Thomas
>>
>
> Yes, the point is that so far, only the errors the Xenomai emulation does
> return are mentioned in this file. But we should merge this anyhow, since
> the original *_create() calls could throw this, so the app has to check
> despite Xenomai won't fail this way, right?

Ok, I understand the origin now.
But indeed, as you say, legacy apps may still check for ERR_OBJTFULL
or any other definition that was in the original psos.h, so Xenomai /
Xenomai-forge has to supply these values as well.

~Thomas

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to