X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=vswitchd%2Fsystem-stats.c;fp=vswitchd%2Fsystem-stats.c;h=7789787310e2382c571835633d5e9092e5b1e066;hb=7d78f21c057ff50a823220d809ac38c3d907243c;hp=6c7393368becd921f362e34e8d07abb6b0e51de2;hpb=8d25251929c8f325bed0fff24192d5a87034b32e;p=sliver-openvswitch.git diff --git a/vswitchd/system-stats.c b/vswitchd/system-stats.c index 6c7393368..778978731 100644 --- a/vswitchd/system-stats.c +++ b/vswitchd/system-stats.c @@ -542,7 +542,8 @@ system_stats_enable(bool enable) ovs_mutex_lock(&mutex); if (enable) { if (!started) { - xpthread_create(NULL, NULL, system_stats_thread_func, NULL); + ovs_thread_create("system_stats", + system_stats_thread_func, NULL); latch_init(&latch); started = true; }