From 2989300ab295c7550dc370f2b65ff51095088f5c Mon Sep 17 00:00:00 2001 From: TravisCI-DocBuilder Date: Sat, 21 Nov 2015 10:49:05 +0000 Subject: [PATCH] Doc generated from commit 9b57720ceeb6d972cba31ed9eb44bd0f5ef5ab00 --- globals_func_l.html | 3 ++ globals_func_r.html | 3 ++ globals_l.html | 3 ++ globals_r.html | 3 ++ synchronization_8h.html | 56 ++++++++++++++++++++++++++++++++ synchronization_8h_source.html | 58 ++++++++++++++++++++++------------ 6 files changed, 105 insertions(+), 21 deletions(-) diff --git a/globals_func_l.html b/globals_func_l.html index b158008..b9915e3 100644 --- a/globals_func_l.html +++ b/globals_func_l.html @@ -126,6 +126,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • LightLock_Lock() : synchronization.h
  • +
  • LightLock_TryLock() +: synchronization.h +
  • LightLock_Unlock() : synchronization.h
  • diff --git a/globals_func_r.html b/globals_func_r.html index 30dc8d5..bff16f1 100644 --- a/globals_func_r.html +++ b/globals_func_r.html @@ -159,6 +159,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • RecursiveLock_Lock() : synchronization.h
  • +
  • RecursiveLock_TryLock() +: synchronization.h +
  • RecursiveLock_Unlock() : synchronization.h
  • diff --git a/globals_l.html b/globals_l.html index 5ad5b46..28d43d7 100644 --- a/globals_l.html +++ b/globals_l.html @@ -151,6 +151,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • LightLock_Lock() : synchronization.h
  • +
  • LightLock_TryLock() +: synchronization.h +
  • LightLock_Unlock() : synchronization.h
  • diff --git a/globals_r.html b/globals_r.html index 38ba5cc..7e48182 100644 --- a/globals_r.html +++ b/globals_r.html @@ -196,6 +196,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • RecursiveLock_Lock() : synchronization.h
  • +
  • RecursiveLock_TryLock() +: synchronization.h +
  • RecursiveLock_Unlock() : synchronization.h
  • diff --git a/synchronization_8h.html b/synchronization_8h.html index 3051177..cfbece9 100644 --- a/synchronization_8h.html +++ b/synchronization_8h.html @@ -159,6 +159,9 @@ static void void LightLock_Lock (LightLock *lock)  Locks a light lock. More...
      +int LightLock_TryLock (LightLock *lock) + Attempts to lock a light lock. More...
    +  void LightLock_Unlock (LightLock *lock)  Unlocks a light lock. More...
      @@ -168,6 +171,9 @@ static void void RecursiveLock_Lock (RecursiveLock *lock)  Locks a recursive lock. More...
      +int RecursiveLock_TryLock (RecursiveLock *lock) + Attempts to lock a recursive lock. More...
    +  void RecursiveLock_Unlock (RecursiveLock *lock)  Unlocks a recursive lock. More...
      @@ -298,6 +304,31 @@ static void  + + + +
    +
    + + + + + + + + +
    int LightLock_TryLock (LightLocklock)
    +
    + +

    Attempts to lock a light lock.

    +
    Parameters
    + + +
    lockPointer to the lock.
    +
    +
    +
    Returns
    Zero on success, non-zero on failure.
    +
    @@ -370,6 +401,31 @@ static void  + + + +
    +
    + + + + + + + + +
    int RecursiveLock_TryLock (RecursiveLocklock)
    +
    + +

    Attempts to lock a recursive lock.

    +
    Parameters
    + + +
    lockPointer to the lock.
    +
    +
    +
    Returns
    Zero on success, non-zero on failure.
    +
    diff --git a/synchronization_8h_source.html b/synchronization_8h_source.html index 332a8ac..110ff6c 100644 --- a/synchronization_8h_source.html +++ b/synchronization_8h_source.html @@ -168,28 +168,42 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    76 void LightLock_Lock(LightLock* lock);
    77 
    78 /**
    -
    79  * @brief Unlocks a light lock.
    +
    79  * @brief Attempts to lock a light lock.
    80  * @param lock Pointer to the lock.
    -
    81  */
    -
    82 void LightLock_Unlock(LightLock* lock);
    -
    83 
    -
    84 /**
    -
    85  * @brief Initializes a recursive lock.
    -
    86  * @param lock Pointer to the lock.
    -
    87  */
    -
    88 void RecursiveLock_Init(RecursiveLock* lock);
    -
    89 
    -
    90 /**
    -
    91  * @brief Locks a recursive lock.
    -
    92  * @param lock Pointer to the lock.
    -
    93  */
    -
    94 void RecursiveLock_Lock(RecursiveLock* lock);
    -
    95 
    -
    96 /**
    -
    97  * @brief Unlocks a recursive lock.
    -
    98  * @param lock Pointer to the lock.
    -
    99  */
    -
    100 void RecursiveLock_Unlock(RecursiveLock* lock);
    +
    81  * @return Zero on success, non-zero on failure.
    +
    82  */
    +
    83 int LightLock_TryLock(LightLock* lock);
    +
    84 
    +
    85 /**
    +
    86  * @brief Unlocks a light lock.
    +
    87  * @param lock Pointer to the lock.
    +
    88  */
    +
    89 void LightLock_Unlock(LightLock* lock);
    +
    90 
    +
    91 /**
    +
    92  * @brief Initializes a recursive lock.
    +
    93  * @param lock Pointer to the lock.
    +
    94  */
    +
    95 void RecursiveLock_Init(RecursiveLock* lock);
    +
    96 
    +
    97 /**
    +
    98  * @brief Locks a recursive lock.
    +
    99  * @param lock Pointer to the lock.
    +
    100  */
    +
    101 void RecursiveLock_Lock(RecursiveLock* lock);
    +
    102 
    +
    103 /**
    +
    104  * @brief Attempts to lock a recursive lock.
    +
    105  * @param lock Pointer to the lock.
    +
    106  * @return Zero on success, non-zero on failure.
    +
    107  */
    +
    108 int RecursiveLock_TryLock(RecursiveLock* lock);
    +
    109 
    +
    110 /**
    +
    111  * @brief Unlocks a recursive lock.
    +
    112  * @param lock Pointer to the lock.
    +
    113  */
    +
    114 void RecursiveLock_Unlock(RecursiveLock* lock);
    s32 LightLock
    A light lock.
    Definition: synchronization.h:8
    void LightLock_Init(LightLock *lock)
    Initializes a light lock.
    u32 counter
    Lock count.
    Definition: synchronization.h:15
    @@ -204,7 +218,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    void LightLock_Lock(LightLock *lock)
    Locks a light lock.
    static s32 __ldrex(s32 *addr)
    Performs a ldrex operation.
    Definition: synchronization.h:35
    static void __clrex(void)
    Performs a clrex operation.
    Definition: synchronization.h:25
    +
    int LightLock_TryLock(LightLock *lock)
    Attempts to lock a light lock.
    void RecursiveLock_Lock(RecursiveLock *lock)
    Locks a recursive lock.
    +
    int RecursiveLock_TryLock(RecursiveLock *lock)
    Attempts to lock a recursive lock.
    void LightLock_Unlock(LightLock *lock)
    Unlocks a light lock.
    u32 thread_tag
    Tag of the thread that currently has the lock.
    Definition: synchronization.h:14
    -- 2.39.5