[pulseaudio-discuss] [PATCH 2/2] fdsem: Use atomic.h

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Thu Apr 17 01:18:53 PDT 2014


On Tue, 2014-04-15 at 17:25 +0200, David Henningsson wrote:
> The fdsem header uses pa_atomic_t, which is declared in atomic.h
> 
> Signed-off-by: David Henningsson <david.henningsson at canonical.com>
> ---
>  src/pulsecore/fdsem.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/pulsecore/fdsem.h b/src/pulsecore/fdsem.h
> index 3f1d9a1..1b1a5a5 100644
> --- a/src/pulsecore/fdsem.h
> +++ b/src/pulsecore/fdsem.h
> @@ -28,6 +28,8 @@
>   * the best case all functions are lock-free unless sleeping is
>   * required.  */
>  
> +#include <pulsecore/atomic.h>
> +
>  typedef struct pa_fdsem pa_fdsem;
>  
>  typedef struct pa_fdsem_data {

Ack for both patches.

-- 
Tanu



More information about the pulseaudio-discuss mailing list