{"action":"opened","issue":{"url":"https://api.github.com/repos/ARM-software/CMSIS/issues/69","repository_url":"https://api.github.com/repos/ARM-software/CMSIS","labels_url":"https://api.github.com/repos/ARM-software/CMSIS/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/ARM-software/CMSIS/issues/69/comments","events_url":"https://api.github.com/repos/ARM-software/CMSIS/issues/69/events","html_url":"https://github.com/ARM-software/CMSIS/issues/69","id":147979814,"number":69,"title":"CMSIS RTOS API: For memory pools, add more accessors to get pool status","user":{"login":"ilg-ul","id":362732,"avatar_url":"https://avatars.githubusercontent.com/u/362732?v=3","gravatar_id":"","url":"https://api.github.com/users/ilg-ul","html_url":"https://github.com/ilg-ul","followers_url":"https://api.github.com/users/ilg-ul/followers","following_url":"https://api.github.com/users/ilg-ul/following{/other_user}","gists_url":"https://api.github.com/users/ilg-ul/gists{/gist_id}","starred_url":"https://api.github.com/users/ilg-ul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilg-ul/subscriptions","organizations_url":"https://api.github.com/users/ilg-ul/orgs","repos_url":"https://api.github.com/users/ilg-ul/repos","events_url":"https://api.github.com/users/ilg-ul/events{/privacy}","received_events_url":"https://api.github.com/users/ilg-ul/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-13T08:04:52Z","updated_at":"2016-04-13T08:04:52Z","closed_at":null,"body":"In CMSIS RTOS API, once created, a memory pool has no functions to tell if the pool is empty or full, to get the block size, the pool capacity, and so on.\r\n\r\nIn [CMSIS++](http://micro-os-plus.github.io/cmsis-plus/) all memory pool characteristics are available via accessor functions.\r\n\r\n```\r\nstd::size_t\r\ncapacity (void) const;\r\n\r\nstd::size_t\r\ncount (void) const;\r\n\r\nstd::size_t\r\nblock_size (void) const;\r\n\r\nbool\r\nempty (void) const;\r\n\r\nbool\r\nfull (void) const;\r\n```\r\n\r\nSuggestion:\r\n\r\n* add accessor functions for memory pool status\r\n"}}