On 08/29/2014 12:53 AM, Mike Holmes wrote:
Signed-off-by: Mike Holmes <[email protected]>
---
platform/linux-generic/include/api/odp_shared_memory.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/platform/linux-generic/include/api/odp_shared_memory.h
b/platform/linux-generic/include/api/odp_shared_memory.h
index 8ac8847..d75b179 100644
--- a/platform/linux-generic/include/api/odp_shared_memory.h
+++ b/platform/linux-generic/include/api/odp_shared_memory.h
@@ -21,7 +21,7 @@ extern "C" {
#include <odp_std_types.h>
-/** Maximum shared memory block name lenght in chars */
+/** Maximum shared memory block name length in chars */
#define ODP_SHM_NAME_LEN 32
@@ -33,6 +33,9 @@ extern "C" {
* @param align Block alignment in bytes
*
* @return Pointer to the reserved block, or NULL
+ *
+ * @note The same block name cannot be reused.
+ * @note There is no way to unreserve a named block
First note with dot, second note without.
*/
void *odp_shm_reserve(const char *name, uint64_t size, uint64_t align);
_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp