Re: [PATCH] Ensure qb_log thread is started

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

 



On 9/4/2012 4:09 PM, Jan Friesse wrote:
> Signed-off-by: Jan Friesse <jfriesse@xxxxxxxxxx>
> ---
>  exec/logsys.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/exec/logsys.c b/exec/logsys.c
> index ed16bc7..354ac03 100644
> --- a/exec/logsys.c
> +++ b/exec/logsys.c
> @@ -385,6 +385,7 @@ int _logsys_system_setup(
>  			_logsys_config_apply_per_subsys(i);
>  		}
>  	}
> +	qb_log_thread_start();
>  
>  	pthread_mutex_unlock (&logsys_config_mutex);
>  
> 

You probably want to check the return code of that call.

qb_log_thread_start returns an int.

Fabio
_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux