Skip to content

Commit

Permalink
ofproto-dpif-upcall: Give each miss_handler thread a unique name.
Browse files Browse the repository at this point in the history
This may occasionally make debugging easier.

Suggested-by: Keith Amidon <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
Acked-by: Ethan Jackson <[email protected]>
  • Loading branch information
blp committed Nov 2, 2013
1 parent d710edc commit f10719d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ofproto/ofproto-dpif-upcall.c
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ udpif_upcall_handler(void *arg)
{
struct handler *handler = arg;

set_subprogram_name("upcall_handler");
set_subprogram_name("upcall_%u", ovsthread_id_self());
for (;;) {
struct list misses = LIST_INITIALIZER(&misses);
size_t i;
Expand Down

0 comments on commit f10719d

Please sign in to comment.