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