Skip to content
Snippets Groups Projects
  1. Apr 11, 2018
  2. Apr 10, 2018
    • Mike Hommey's avatar
      Add PTHREAD_*_MUTEX_INITIALIZER_NP for glibc · d9013273
      Mike Hommey authored
      `pthread_mutex_t` varies across architectures, in several ways:
      - endianness alters the ordering of bytes, since the contents of the
        struct are larger than 8-bit.
      - its length varies.
      - the location of the mutex kind (`PTHREAD_MUTEX_RECURSIVE`,
        `PTHREAD_MUTEX_ERRORCHECK` or `PTHREAD_MUTEX_ADAPTIVE_NP`) varies
        between 32-bit and 64-bit: On 32-bit architectures, it is preceded by
        three int/unsigned int, while on 64-bit architectures, it is preceded
        by four of them.
      
      These initializers are only available from <pthread.h> when _GNU_SOURCE
      is defined.
      
      Relax the cfg_if check in ci/style.rs to allow #[cfg(target_endian)]
      tests.
      d9013273
    • Mike Hommey's avatar
      Add PTHREAD_MUTEX_ADAPTIVE_NP for glibc · 4355dfcf
      Mike Hommey authored
      4355dfcf
  3. Apr 08, 2018
  4. Mar 04, 2018
  5. Feb 25, 2018
  6. Feb 24, 2018
  7. Feb 22, 2018
  8. Feb 17, 2018
  9. Feb 01, 2018
  10. Jan 30, 2018
  11. Jan 19, 2018
  12. Jan 18, 2018
  13. Dec 17, 2017
  14. Dec 16, 2017
  15. Dec 08, 2017
  16. Nov 13, 2017
  17. Nov 07, 2017
  18. Nov 05, 2017
  19. Oct 31, 2017
  20. Oct 27, 2017
  21. Oct 20, 2017
  22. Oct 19, 2017
  23. Oct 18, 2017
  24. Oct 16, 2017
  25. Sep 25, 2017
  26. Sep 21, 2017
Loading