1. 21 Oct, 2014 2 commits
  2. 16 Oct, 2014 1 commit
  3. 11 Oct, 2014 1 commit
  4. 09 Oct, 2014 9 commits
  5. 08 Oct, 2014 2 commits
  6. 06 Oct, 2014 1 commit
  7. 03 Oct, 2014 4 commits
  8. 02 Oct, 2014 3 commits
  9. 01 Oct, 2014 2 commits
  10. 23 Sep, 2014 3 commits
  11. 22 Sep, 2014 2 commits
  12. 20 Sep, 2014 2 commits
    • William Orr's avatar
      Add support for solaris atomicops · 2d7786cf
      William Orr authored
      This patch adds support for atomic operations on Solaris, on any platform.
      It makes use of the atomic functions made available in Solaris' atomic.h
      header.
      2d7786cf
    • William Orr's avatar
      Add check for sched_yield in librt · 38b84946
      William Orr authored
      In Solaris, sched_yield lives in librt, rather than libc. This patch adds a
      check which will link in librt if necessary.
      38b84946
  13. 19 Sep, 2014 5 commits
  14. 18 Sep, 2014 3 commits
    • Robert Edmonds's avatar
      Fix atomicops build failure on non-Clang · 7432af82
      Robert Edmonds authored
      We cannot use Clang's __has_extension macro unless we really are
      compiling on Clang, which means we cannot use this expression:
      
          #if (defined(__clang__) && __has_extension(c_atomic)))
          // ...
          #endif
      
      On GCC, this generates the following errors:
      
          In file included from ./google/protobuf/stubs/atomicops.h:59:0,
                           from google/protobuf/stubs/atomicops_internals_x86_gcc.cc:36:
          ./google/protobuf/stubs/platform_macros.h:67:41: error: missing binary operator before token "("
             (defined(__clang__) && __has_extension(c_atomic)))
                                                   ^
          In file included from google/protobuf/stubs/atomicops_internals_x86_gcc.cc:36:0:
          ./google/protobuf/stubs/atomicops.h:196:40: error: missing binary operator before token "("
            (defined(__clang__) && __has_extension(c_atomic))
                                                  ^
      
      Instead, we have to protect the __has_extension expression by only
      executing it when __clang__ is defined:
      
          #if defined(__clang__)
          # if __has_extension(c_atomic)
          // ...
          # endif
          #endif
      7432af82
    • xfxyjwf's avatar
      Merge pull request #21 from edmonds/branches/clang_generic_atomics · 5c8ab2cb
      xfxyjwf authored
      Expose generic atomicops on Clang
      5c8ab2cb
    • xfxyjwf's avatar
      Merge pull request #20 from edmonds/branches/no_ppc · 7b6c5d58
      xfxyjwf authored
      Remove GOOGLE_PROTOBUF_ARCH_PPC
      7b6c5d58