[ovs-git] [openvswitch/ovs] 6fe27a: ovs-thread: Drop xpthread_meutex_{un}lock finction...

GitHub noreply at github.com
Mon Dec 10 17:52:37 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 6fe27a7103698bf347c583f3c4199e87006da6f9
      https://github.com/openvswitch/ovs/commit/6fe27a7103698bf347c583f3c4199e87006da6f9
  Author: Ilya Maximets <i.maximets at samsung.com>
  Date:   2018-12-10 (Mon, 10 Dec 2018)

  Changed paths:
    M lib/ovs-thread.c
    M lib/ovs-thread.h

  Log Message:
  -----------
  ovs-thread: Drop xpthread_meutex_{un}lock finctions.

There are no users of these functions.
This change fixes clang build on FreeBSD:

  lib/ovs-thread.c:158:1: error: \
      mutex 'mutex' is still held at the end of function \
      [-Werror,-Wthread-safety-analysis]
  XPTHREAD_FUNC1(pthread_mutex_lock, pthread_mutex_t *);
  ^
  lib/ovs-thread.c:138:5: note: expanded from macro 'XPTHREAD_FUNC1'
      }
      ^

Fixes: 4dff0893c376 ("ovs-atomic-pthreads: Use global shared locks for atomic_flag also.")
Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list