Skip to content

xio: migrate atomic_t to std::atomic<>#15230

Merged
liewegas merged 1 commit intoceph:masterfrom
chardan:jfw-wip-halflife_atomic_t-xio
Jun 7, 2017
Merged

xio: migrate atomic_t to std::atomic<>#15230
liewegas merged 1 commit intoceph:masterfrom
chardan:jfw-wip-halflife_atomic_t-xio

Conversation

@chardan
Copy link
Contributor

@chardan chardan commented May 23, 2017

Signed-off-by: Jesse Williamson jwilliamson@suse.de

Copy link
Contributor

@tchaikov tchaikov left a comment

Choose a reason for hiding this comment

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

@Adirl does this change look sane to you?


Mutex mtx("XioMessenger Package Lock");
atomic_t initialized;
std::atomic<unsigned> initialized = { 0 };
Copy link
Contributor

Choose a reason for hiding this comment

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

this should be std::atomic<bool>

@chardan chardan force-pushed the jfw-wip-halflife_atomic_t-xio branch from 31e4770 to dc66ac9 Compare May 27, 2017 21:17
@Adirl
Copy link

Adirl commented May 28, 2017

@tchaikov
👍

@tchaikov
Copy link
Contributor

@chardan could you squash these two commit into a single one?

@chardan chardan force-pushed the jfw-wip-halflife_atomic_t-xio branch from dc66ac9 to 901dd23 Compare May 28, 2017 17:46
Signed-off-by: Jesse Williamson <jwilliamson@suse.de>
@chardan chardan force-pushed the jfw-wip-halflife_atomic_t-xio branch from 901dd23 to cd7aeba Compare June 5, 2017 23:31
@liewegas
Copy link
Member

liewegas commented Jun 7, 2017

@liewegas liewegas merged commit 8ded50e into ceph:master Jun 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants