_Objects_Allocate() and _Objects_Open*()
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Dec 13 07:53:08 UTC 2011
Hello,
why is the object name set during _Objects_Open*() and not during
_Objects_Allocate()?
If we set the name during _Objects_Allocate() then this would simplify the
handling of string names. We could add an _Objects_Allocate_with_string()
which duplicates the string name with memory from the workspace and assigns the
pointer of the duplicated string to the object name_p parameter.
This helps to unify mq_open() and sem_open().
--
Sebastian Huber, embedded brains GmbH
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone : +49 89 18 90 80 79-6
Fax : +49 89 18 90 80 79-9
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list