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 24, 2018
  5. Mar 04, 2018
  6. Mar 03, 2018
  7. Feb 25, 2018
  8. Feb 24, 2018
  9. Feb 22, 2018
  10. Feb 17, 2018
  11. Feb 07, 2018
  12. Feb 01, 2018
  13. Jan 30, 2018
  14. Jan 26, 2018
  15. Jan 22, 2018
  16. Jan 19, 2018
  17. Jan 18, 2018
  18. Jan 17, 2018
  19. Jan 11, 2018
  20. Dec 26, 2017
  21. Dec 19, 2017
  22. Dec 17, 2017
  23. Dec 16, 2017
  24. Dec 14, 2017
  25. Dec 12, 2017
  26. Dec 08, 2017
Loading