Skip to content
Snippets Groups Projects
  1. Nov 22, 2018
  2. Jul 29, 2018
  3. Apr 11, 2018
  4. 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
  5. Feb 25, 2018
  6. Feb 24, 2018
  7. Feb 22, 2018
  8. Jan 30, 2018
  9. Nov 07, 2017
  10. Nov 05, 2017
  11. Oct 31, 2017
  12. Oct 27, 2017
  13. Oct 20, 2017
  14. Oct 19, 2017
  15. Oct 18, 2017
  16. Sep 25, 2017
  17. Sep 21, 2017
  18. Aug 27, 2017
  19. Aug 26, 2017
  20. Jul 20, 2017
  21. Jul 12, 2017
  22. Jul 10, 2017
  23. Jul 09, 2017
  24. Jul 03, 2017
  25. Jul 02, 2017
  26. Jun 28, 2017
  27. Jun 27, 2017
  28. Jun 24, 2017
  29. Jun 15, 2017
  30. Jun 14, 2017
  31. Jun 09, 2017
Loading