1. 02 4月, 2011 1 次提交
  2. 26 3月, 2011 1 次提交
    • R
      match glibc/lsb cancellation abi on i386 · ea343364
      Rich Felker 提交于
      glibc made the ridiculous choice to use pass-by-register calling
      convention for these functions, which is impossible to duplicate
      directly on non-gcc compilers. instead, we use ugly asm to wrap and
      convert the calling convention. presumably this works with every
      compiler anyone could potentially want to use.
      ea343364
  3. 18 3月, 2011 1 次提交
    • R
      implement robust mutexes · 047e434e
      Rich Felker 提交于
      some of this code should be cleaned up, e.g. using macros for some of
      the bit flags, masks, etc. nonetheless, the code is believed to be
      working and correct at this point.
      047e434e
  4. 13 3月, 2011 1 次提交
    • R
      pthread.h needs clockid_t · d8d19f4d
      Rich Felker 提交于
      actually it gets this from time.h if _POSIX_C_SOURCE or any other
      feature test macros are defined, but it breaks if they're not.
      d8d19f4d
  5. 11 3月, 2011 1 次提交
  6. 08 3月, 2011 1 次提交
  7. 19 2月, 2011 1 次提交
    • R
      add pthread_atfork interface · e9417fff
      Rich Felker 提交于
      note that this presently does not handle consistency of the libc's own
      global state during forking. as per POSIX 2008, if the parent process
      was threaded, the child process may only call async-signal-safe
      functions until one of the exec-family functions is called, so the
      current behavior is believed to be conformant even if non-ideal. it
      may be improved at some later time.
      e9417fff
  8. 18 2月, 2011 1 次提交
    • R
      reorganize pthread data structures and move the definitions to alltypes.h · e8827563
      Rich Felker 提交于
      this allows sys/types.h to provide the pthread types, as required by
      POSIX. this design also facilitates forcing ABI-compatible sizes in
      the arch-specific alltypes.h, while eliminating the need for
      developers changing the internals of the pthread types to poke around
      with arch-specific headers they may not be able to test.
      e8827563
  9. 17 2月, 2011 1 次提交
  10. 12 2月, 2011 1 次提交