On Fri, Sep 06, 2013 at 09:28:37PM -0700, gy...@nicira.com wrote:
> From: Guolin Yang <gy...@nicira.com>
> 
> In monitor_daemon(), it set subprogram_name to "" which causes
> system crash in some platform. This change set subprogram name
> to program name.
> 
> Signed-off-by: Guolin Yang <gy...@nicira.com>

This has two effects:

        1. It changes the name reported in log messages for a daemon's
           main thread from the empty string to e.g. "ovs-vswitchd".

        2. It changes the thread name reported by the system from the
           empty string to e.g. "ovs-vswitchd".

I'm happy with #2, but #1 is going to change and lengthen log messages.
I'd rather not do that.  I suggest that, instead, you change
set_subprogram_name() so that if it gets "" as its argument then it sets
the subprogram name to the empty string but the system thread name to
program_name or maybe just to "main".

Thanks,

Ben.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to