Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osdc: standardize osdc code with std::atomic #9257

Closed
wants to merge 1 commit into from

Conversation

cxwshawn
Copy link

@cxwshawn cxwshawn commented May 23, 2016

standalize ceph code with std::atomic other than ceph::atomic
same work as #9138
Signed-off-by: Xiaowei Chen chen.xiaowei@h3c.com

@liewegas
Copy link
Member

Can you squash these into 1 commit so they both build?

@liewegas liewegas changed the title osdc: standalize osdc code with std::atomic osdc: standardize osdc code with std::atomic May 23, 2016
@cxwshawn
Copy link
Author

@liewegas sorry, have squashed, please review.

@@ -1144,16 +1145,16 @@ class Objecter : public md_config_obs_t, public Dispatcher {
using Dispatcher::cct;
std::multimap<string,string> crush_location;

atomic_t initialized;
atomic_bool initialized;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

similar to #9138 (comment), can we qualify these with std::?

@cxwshawn
Copy link
Author

@cbodley thanks for your advice, @liewegas fixed, please review.

…c_atomic_replacement.

same work as ceph#9138

Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
@cxwshawn
Copy link
Author

@liewegas @tchaikov PING!

@cxwshawn cxwshawn closed this Nov 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants