X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fovs-thread.c;h=19edf8ff14da2750a00f06fa3b981b3301a281d2;hb=c5cf10598f8c9f4428291e9df3ecd72a05fb1ccf;hp=d835b3937b3b002e373075a10bfd7535272f7225;hpb=8ba0a5227f6e6b50838c157bd303c2d5bf6f4e59;p=sliver-openvswitch.git diff --git a/lib/ovs-thread.c b/lib/ovs-thread.c index d835b3937..19edf8ff1 100644 --- a/lib/ovs-thread.c +++ b/lib/ovs-thread.c @@ -274,9 +274,11 @@ ovsthread_wrapper(void *aux_) aux = *auxp; free(auxp); + /* The order of the following calls is important, because + * ovsrcu_quiesce_end() saves a copy of the thread name. */ set_subprogram_name("%s%u", aux.name, id); - ovsrcu_quiesce_end(); + return aux.start(aux.arg); }