You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ad...@apache.org on 2016/06/23 21:20:00 UTC

[08/16] incubator-mynewt-site git commit: Updated semaphore function list to table with descriptions.

Updated semaphore function list to table with descriptions.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/commit/b91d0edc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/tree/b91d0edc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/diff/b91d0edc

Branch: refs/heads/master
Commit: b91d0edc8c2ccacce2b37833761c14d0db92e321
Parents: 5c82855
Author: = <=>
Authored: Thu Jun 23 09:26:20 2016 -0700
Committer: = <=>
Committed: Thu Jun 23 09:26:20 2016 -0700

----------------------------------------------------------------------
 docs/os/core_os/semaphore/semaphore.md | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b91d0edc/docs/os/core_os/semaphore/semaphore.md
----------------------------------------------------------------------
diff --git a/docs/os/core_os/semaphore/semaphore.md b/docs/os/core_os/semaphore/semaphore.md
index be5f65a..9bcff62 100644
--- a/docs/os/core_os/semaphore/semaphore.md
+++ b/docs/os/core_os/semaphore/semaphore.md
@@ -35,8 +35,10 @@ struct os_sem
 
 The functions available in semaphore are:
 
-* [os_sem_init](os_sem_init)
-* [os_sem_pend](os_sem_pend)
-* [os_sem_release](os_sem_release)
+| **Function** | **Description** |
+|-----------|-------------|
+| [os_sem_init](os_sem_init) | Initialize a semaphore with a given number of tokens. |
+| [os_sem_pend](os_sem_pend) | Wait for a semaphore for a given amount of time. |
+| [os_sem_release](os_sem_release) | Release a semaphore that you are holding. This adds a token to the semaphore. |