Hello Adar Dembo,

I'd like you to do a code review.  Please visit

    http://gerrit.cloudera.org:8080/3492

to review the following change.

Change subject: replace boost::detail::yield with std::this_thread::yield
......................................................................

replace boost::detail::yield with std::this_thread::yield

source of boost::detail::yield:
https://github.com/boostorg/smart_ptr/blob/boost-1.59.0/include/boost/smart_ptr/detail/yield_k.hpp#L116-L144

source of std::this_thread::yield:
https://github.com/gcc-mirror/gcc/blob/gcc_5_3_0_release/libstdc%2B%2B-v3/include/std/thread#L265-L272
(boils down to a call to sched_yield(2)).

Change-Id: I1c94f8377982028e608c0b0d0b56a48f8df4dfe2
---
M src/kudu/tablet/concurrent_btree.h
M src/kudu/util/rw_semaphore.h
M src/kudu/util/thread.cc
M src/kudu/util/threadpool-test.cc
4 files changed, 14 insertions(+), 23 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/92/3492/1
-- 
To view, visit http://gerrit.cloudera.org:8080/3492
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1c94f8377982028e608c0b0d0b56a48f8df4dfe2
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Dan Burkert <d...@cloudera.com>
Gerrit-Reviewer: Adar Dembo <a...@cloudera.com>

Reply via email to