Skip to content
Snippets Groups Projects
  1. Sep 25, 2020
  2. May 07, 2020
  3. Mar 10, 2020
  4. Nov 25, 2019
  5. Sep 12, 2019
  6. Jun 06, 2019
  7. Jun 04, 2019
  8. Jun 03, 2019
  9. Jun 02, 2019
  10. May 27, 2019
  11. Nov 01, 2018
  12. Jul 29, 2018
  13. Apr 11, 2018
  14. 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
  15. Oct 31, 2017
  16. Oct 27, 2017
  17. Oct 18, 2017
  18. Jul 20, 2017
  19. Jul 03, 2017
  20. Jul 02, 2017
  21. Jun 28, 2017
  22. Jun 14, 2017
  23. Jan 01, 2017
  24. Dec 31, 2016
  25. Aug 27, 2016
  26. Aug 09, 2016
  27. Jul 27, 2016
  28. Jul 21, 2016
    • Tomasz Miąsko's avatar
      Add support for pthread_condattr_t on Unix platforms. · cb64485f
      Tomasz Miąsko authored
      Following types and function have been added:
      * pthread_cond_init
      * pthread_condattr_t
      * pthread_condattr_init
      * pthread_condattr_destroy
      * pthread_condattr_setclock [0]
      * pthread_condattr_getclock [0][1]
      
      [0] Not available on OSX.
      [1] May be unavailable on NetBSD, it is a very recent addition.
          Left out from openbsdlike hierarchy for now.
      cb64485f
  29. May 20, 2016
  30. Mar 11, 2016
    • Kamal Marhubi's avatar
      Make cfg_if uses more explicit and consistent · 66c33753
      Kamal Marhubi authored
      This commit changes most uses of cfg_if as follows:
      - fallthrough `else` usage is avoided for architecture or OS specific
        items
      - a comment is added in the final `else` clause to signal intent someone
        modifying
      
      It is safer to omit items than include ones for the wrong platform or
      architecture.
      66c33753
  31. Mar 02, 2016
    • Alex Crichton's avatar
      Add a style checking script to CI · 8a8bc668
      Alex Crichton authored
      It's tough to have PRs bounce or to have a back and forth with contributors
      about minor style quibbles. Sometimes it ends up just being easier to fix style
      after the fact, but let's add some automation to help this!
      
      This commit adds a script to run on CI and locally to verify the style of this
      repository. There's a few stylistic guidelines to ensure that definitions are
      understandable across the jungle of modules. This consistency should help assist
      readability for any future readers!
      8a8bc668
  32. Jan 20, 2016
  33. Dec 16, 2015
  34. Nov 09, 2015
  35. Nov 02, 2015
  36. Sep 23, 2015
  37. Sep 18, 2015
  38. Sep 17, 2015
Loading