[PATCH] doc: Use correct parameter name wait_for_accept in documentation of pa_threaded_mainloop_signal()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2014-03-07 at 13:37 +0100, Peter Meerwald wrote:
> From: Peter Meerwald <p.meerwald at bct-electronic.com>
> 
> also sneaks in a full stop in documentation elsewhere
> 
> Signed-off-by: Peter Meerwald <pmeerw at pmeerw.net>
> ---
>  src/pulse/thread-mainloop.h |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/pulse/thread-mainloop.h b/src/pulse/thread-mainloop.h
> index 8e8cbfe..6a786fc 100644
> --- a/src/pulse/thread-mainloop.h
> +++ b/src/pulse/thread-mainloop.h
> @@ -272,7 +272,7 @@ void pa_threaded_mainloop_stop(pa_threaded_mainloop *m);
>   * are executed with this lock held. */
>  void pa_threaded_mainloop_lock(pa_threaded_mainloop *m);
>  
> -/** Unlock the event loop object, inverse of pa_threaded_mainloop_lock() */
> +/** Unlock the event loop object, inverse of pa_threaded_mainloop_lock(). */
>  void pa_threaded_mainloop_unlock(pa_threaded_mainloop *m);
>  
>  /** Wait for an event to be signalled by the event loop thread. You
> @@ -287,7 +287,7 @@ void pa_threaded_mainloop_unlock(pa_threaded_mainloop *m);
>  void pa_threaded_mainloop_wait(pa_threaded_mainloop *m);
>  
>  /** Signal all threads waiting for a signalling event in
> - * pa_threaded_mainloop_wait(). If wait_for_release is non-zero, do
> + * pa_threaded_mainloop_wait(). If wait_for_accept is non-zero, do
>   * not return before the signal was accepted by a
>   * pa_threaded_mainloop_accept() call. While waiting for that condition
>   * the event loop object is unlocked. */

Looks good to me.

-- 
Tanu



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux