You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/04/17 02:00:19 UTC

[GitHub] ccollins476ad commented on a change in pull request #1030: mempool: Add os_mempool_clear function

ccollins476ad commented on a change in pull request #1030: mempool: Add os_mempool_clear function
URL: https://github.com/apache/mynewt-core/pull/1030#discussion_r181933594
 
 

 ##########
 File path: kernel/os/include/os/os_mempool.h
 ##########
 @@ -188,6 +188,15 @@ os_error_t os_mempool_init(struct os_mempool *mp, uint16_t blocks,
 os_error_t os_mempool_ext_init(struct os_mempool_ext *mpe, uint16_t blocks,
                                uint32_t block_size, void *membuf, char *name);
 
+/**
+ * Clears a memory pool.
+ *
+ * @param mp            Pointer to a pointer to a mempool
 
 Review comment:
   Too many levels of indirection in this comment :). How about: "Mempool to clear"?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services