mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Hansen-Sturm" <>
Subject Review Request 23913: Add C++11 (and boost) <atomic> support to stout
Date Fri, 25 Jul 2014 01:17:00 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for mesos, Benjamin Hindman and Niklas Nielsen.

Bugs: MESOS-1626

Repository: mesos-git


This patch adds support for C++11 (and boost) <atomic> support to stout, following the
pattern in stout/lambda.hpp stout/memory.hpp

However, to support pre-c+11 compilation, boost/atomic is used for the fallback case, as there
is no std::TR1 support.

Note:  with this fix, we still need to incorporate additional boost/atomic headers (either
via a patch, or a more general mechanism.  Still waiting to hear back from Timothy St. Clair
about the proper staging).


  3rdparty/libprocess/3rdparty/stout/include/stout/atomic.hpp PRE-CREATION 



make check

compiled and ran all boost "lock free" sample-usage code specified at
  These samples compile and ran without modification (for both c++11 and boost).


Craig Hansen-Sturm

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message