Skip to content
Snippets Groups Projects
  1. May 26, 2018
  2. May 22, 2018
  3. May 10, 2018
  4. Apr 23, 2018
  5. Apr 17, 2018
  6. Apr 11, 2018
  7. 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
  8. Apr 08, 2018
  9. Mar 24, 2018
  10. Mar 04, 2018
  11. Mar 03, 2018
  12. Feb 25, 2018
  13. Feb 24, 2018
  14. Feb 22, 2018
  15. Feb 17, 2018
  16. Feb 07, 2018
  17. Feb 01, 2018
  18. Jan 30, 2018
  19. Jan 26, 2018
  20. Jan 22, 2018
  21. Jan 19, 2018
  22. Jan 18, 2018
  23. Jan 17, 2018
Loading