2013/10/22 Philippe Gerum <r...@xenomai.org>

> On 10/22/2013 03:05 PM, Kim De Mey wrote:
>
>> Extend object names with number to make them unique
>>
>> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@**
>> gmail.com <thomas.de.schamphele...@gmail.com>>
>> Signed-off-by: Ronny Meeus <ronny.me...@gmail.com>
>> Signed-off-by: Kim De Mey <kim.de...@gmail.com>
>>
>> ---
>>
>> Although this is not a requirement for pSOS, it would be nice to have
>> unique names for debugging purposes. This comes especially in the picture
>> with the implementation of registry for pSOS. Without unique names no
>> object with duplicate name will be added to registry. Unless changes
>> are made to the creation of the files.
>>
>>
> I'm ok with the intent, not with the implementation. Please check how the
> alchemy API does this via alchemy_build_name().
>
> This will keep the name generation in a single place, and also fix a race
> in the current pSOS emulator code, which post-increments anon_*ids in a
> sloppy non-atomic way.
>
>
Okay, I will adjust the patch to have a similar implementation as the one
of alchemy.
_______________________________________________
Xenomai mailing list
Xenomai@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to