]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/libcephfs: introduce (uint64_t)ceph_pthread_self() 30505/head
authorWillem Jan Withagen <wjw@digiware.nl>
Sat, 21 Sep 2019 12:51:06 +0000 (14:51 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Fri, 27 Sep 2019 19:59:09 +0000 (21:59 +0200)
commitd388dae58f4c271516e4b79cebb7b822f6499ae5
treee0f20bcfd863efb5463fe756e026b22c400ffb0e
parent1e9e5ec9f1138eda593f0a51f010d0a1a6009487
test/libcephfs: introduce (uint64_t)ceph_pthread_self()

There is a  difference between libc shipped with FreeBSD and
glibc shipped with GNU/Linux for the return type of pthread_self().

Introduced a conversion function in include/compat.h
    (uint64_t)ceph_pthread_self()

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/test/libcephfs/ceph_pthread_self.h [new file with mode: 0644]
src/test/libcephfs/flock.cc
src/test/libcephfs/recordlock.cc