On 10 July 2013 19:04, Ben Pfaff <[email protected]> wrote:
> Signed-off-by: Ben Pfaff <[email protected]>
> +void
> +set_subprogram_name(const char *name)
> +{
> + free(subprogram_name_set(xstrdup(name)));
> +}
How about calling (through appropriate abstraction) pthread_setname_np
(Linux) or pthread_set_name_np (FreeBSD)? The thread names will then
appear in gdb or lldb, and in top(1) (on FreeBSD at least).
Acked-by: Ed Maste <[email protected]>
X-CudaMail-Whitelist-To: [email protected]
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev