Fix typos in docs
* eina_thread_init doesn't exist. eina_threads_init it is; * 'mutexes' is a more common spelling, not 'mutexs' SVN revision: 52136
This commit is contained in:
parent
77d42e9cca
commit
c4a0cef6e6
|
@ -1664,9 +1664,9 @@ eina_log_shutdown(void)
|
|||
* @brief Activate the log mutex.
|
||||
*
|
||||
* This function activate the mutex in the eina log module. It is called by
|
||||
* eina_thread_init().
|
||||
* eina_threads_init().
|
||||
*
|
||||
* @see eina_thread_init()
|
||||
* @see eina_threads_init()
|
||||
*/
|
||||
void
|
||||
eina_log_threads_init(void)
|
||||
|
@ -1681,9 +1681,9 @@ eina_log_threads_init(void)
|
|||
* @brief Shut down the log mutex.
|
||||
*
|
||||
* This function shuts down the mutex in the log module.
|
||||
* It is called by eina_thread_shutdown().
|
||||
* It is called by eina_threads_shutdown().
|
||||
*
|
||||
* @see eina_thread_shutdown()
|
||||
* @see eina_threads_shutdown()
|
||||
*/
|
||||
void
|
||||
eina_log_threads_shutdown(void)
|
||||
|
|
|
@ -278,17 +278,17 @@ eina_shutdown(void)
|
|||
|
||||
|
||||
/**
|
||||
* @brief Initialize the mutexs of the Eina library.
|
||||
* @brief Initialize the mutexes of the Eina library.
|
||||
*
|
||||
* @return 1 or greater on success, 0 on error.
|
||||
*
|
||||
* This function sets up all the mutexs in all eina modules. It returns 0 on
|
||||
* This function sets up all the mutexes in all eina modules. It returns 0 on
|
||||
* failure (that is, when one of the module fails to initialize),
|
||||
* otherwise it returns the number of times it has already been
|
||||
* called.
|
||||
*
|
||||
* When the mutexs are not used anymore, call eina_thread_shutdown() to shut down
|
||||
* the mutexs.
|
||||
* When the mutexes are not used anymore, call eina_threads_shutdown() to shut down
|
||||
* the mutexes.
|
||||
*/
|
||||
EAPI int
|
||||
eina_threads_init(void)
|
||||
|
@ -326,18 +326,18 @@ eina_threads_init(void)
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief Shut down mutexs in the Eina library.
|
||||
* @brief Shut down mutexes in the Eina library.
|
||||
*
|
||||
* @return 0 when all mutexs are completely shut down, 1 or
|
||||
* @return 0 when all mutexes are completely shut down, 1 or
|
||||
* greater otherwise.
|
||||
*
|
||||
* This function shuts down the mutexs in the Eina library. It returns 0 when it has
|
||||
* been called the same number of times than eina_thread_init(). In that case
|
||||
* it shut down all the mutexs.
|
||||
* This function shuts down the mutexes in the Eina library. It returns 0 when it has
|
||||
* been called the same number of times than eina_threads_init(). In that case
|
||||
* it shut down all the mutexes.
|
||||
*
|
||||
* Once this function succeeds (that is, @c 0 is returned), you must
|
||||
* not call any of the Eina function in a thread anymore. You must call
|
||||
* eina_thread_init() again to use the Eina functions in a thread again.
|
||||
* eina_threads_init() again to use the Eina functions in a thread again.
|
||||
*/
|
||||
EAPI int
|
||||
eina_threads_shutdown(void)
|
||||
|
|
|
@ -704,12 +704,12 @@ eina_share_common_shutdown(Eina_Share **_share)
|
|||
|
||||
/**
|
||||
* @internal
|
||||
* @brief Activate the share_common mutexs.
|
||||
* @brief Activate the share_common mutexes.
|
||||
*
|
||||
* This function activate the mutexs in the eina share_common module. It is called by
|
||||
* eina_thread_init().
|
||||
* This function activate the mutexes in the eina share_common module. It is called by
|
||||
* eina_threads_init().
|
||||
*
|
||||
* @see eina_thread_init()
|
||||
* @see eina_threads_init()
|
||||
*/
|
||||
void
|
||||
eina_share_common_threads_init(void)
|
||||
|
@ -719,12 +719,12 @@ eina_share_common_threads_init(void)
|
|||
|
||||
/**
|
||||
* @internal
|
||||
* @brief Shut down the share_common mutexs.
|
||||
* @brief Shut down the share_common mutexes.
|
||||
*
|
||||
* This function shuts down the mutexs in the share_common module.
|
||||
* It is called by eina_thread_shutdown().
|
||||
* This function shuts down the mutexes in the share_common module.
|
||||
* It is called by eina_threads_shutdown().
|
||||
*
|
||||
* @see eina_thread_shutdown()
|
||||
* @see eina_threads_shutdown()
|
||||
*/
|
||||
void
|
||||
eina_share_common_threads_shutdown(void)
|
||||
|
|
Loading…
Reference in New Issue