X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=vswitchd%2Fsystem-stats.c;h=7789787310e2382c571835633d5e9092e5b1e066;hb=8ba0a5227f6e6b50838c157bd303c2d5bf6f4e59;hp=6c7393368becd921f362e34e8d07abb6b0e51de2;hpb=6c04f67c6adea0d2da1a8b8ccb5f6d0ef8add5bc;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; }