[ovs-dev] [urcu-fixes 3/4] ovs-thread: Make caller provide thread name when creating a thread.

2014-04-28 Thread Ben Pfaff
Thread names are occasionally very useful for debugging, but from time to time we've forgotten to set one. This commit adds the new thread's name as a parameter to the function to start a thread, to make that mistake impossible. This also simplifies code, since two function calls become only

Re: [ovs-dev] [urcu-fixes 3/4] ovs-thread: Make caller provide thread name when creating a thread.

2014-04-28 Thread Alex Wang
This is helpful,​ just two comments, On Mon, Apr 28, 2014 at 9:06 AM, Ben Pfaff b...@nicira.com wrote: This patch is a prerequisite for making RCU report the name of a thread that is blocking RCU synchronization, *because the easiest way to do that gets the name of the thread in

Re: [ovs-dev] [urcu-fixes 3/4] ovs-thread: Make caller provide thread name when creating a thread.

2014-04-28 Thread Ben Pfaff
On Mon, Apr 28, 2014 at 11:48:34AM -0700, Alex Wang wrote: This is helpful,??? just two comments, On Mon, Apr 28, 2014 at 9:06 AM, Ben Pfaff b...@nicira.com wrote: This patch is a prerequisite for making RCU report the name of a thread that is blocking RCU synchronization, *because the