1. 10 Sep, 2018 1 commit
  2. 16 Nov, 2017 1 commit
  3. 13 Nov, 2017 1 commit
  4. 09 Nov, 2017 2 commits
  5. 04 May, 2017 1 commit
  6. 29 Mar, 2017 1 commit
  7. 01 Sep, 2016 1 commit
  8. 15 Jul, 2016 1 commit
  9. 24 May, 2016 1 commit
    • Emil Velikov's avatar
      c11/threads: resolve link issues with -O0 · 7e196cd1
      Emil Velikov authored
      Add weak symbol notation for the pthread_mutexattr* symbols, thus making
      the linker happy. When building with -O1 or greater the optimiser will
      kick in and remove the said functions as they are dead/unreachable code.
      
      Ideally we'll enable the optimisations locally, yet that does not seem
      to work atm.
      
      v2: Add the AX_GCC_FUNC_ATTRIBUTE([weak]) hunk in configure.
      
      Cc: Alejandro Piñeiro <apinheiro@igalia.com>
      Cc: Ben Widawsky <ben@bwidawsk.net>
      Cc: Ilia Mirkin <imirkin@alum.mit.edu>
      Cc: Rob Herring <robh@kernel.org>
      Signed-off-by: 's avatarEmil Velikov <emil.velikov@collabora.com>
      Tested-by: 's avatarRob Clark <robdclark@gmail.com>
      Tested-by: 's avatarMark Janes <mark.a.janes@intel.com>
      7e196cd1
  10. 23 May, 2016 1 commit
  11. 08 Oct, 2015 1 commit
  12. 25 Sep, 2015 1 commit
  13. 16 Mar, 2015 1 commit
  14. 12 Aug, 2014 1 commit
  15. 19 Mar, 2014 1 commit
    • Brian Paul's avatar
      c11/threads: don't include assert.h if the assert macro is already defined · eaf9affa
      Brian Paul authored
      In the gallium code, the assert() macro could come from either the
      system's assert.h file (via c11/threads.h) or from gallium's u_debug.h.
      It looks like all known assert.h files unconditionally #undef assert
      before defining their own version.  So the assert you get depends on
      whether threads.h or u_debug.h was included last.
      
      In the gallium code we really want to use the assert() from u_debug.h
      (it behaves better on Windows).  In gallium, c11/threads.h is only
      included after u_debug.h in the os_thread.h wrapper.  So Adding
      an #ifndef assert test in the threads*.h files avoids using the system's
      assert().
      
      Cc: "10.1" <mesa-stable@lists.freedesktop.org>
      Reviewed-by: 's avatarJosé Fonseca <jfonseca@vmware.com>
      eaf9affa
  16. 04 Mar, 2014 2 commits
  17. 28 Jan, 2014 1 commit
  18. 25 Jan, 2014 1 commit
  19. 23 Jan, 2014 3 commits