- 02 4月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-
- 26 3月, 2011 1 次提交
-
-
由 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.
-
- 18 3月, 2011 1 次提交
-
-
由 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.
-
- 13 3月, 2011 1 次提交
-
-
由 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.
-
- 11 3月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-
- 08 3月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-
- 19 2月, 2011 1 次提交
-
-
由 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.
-
- 18 2月, 2011 1 次提交
-
-
由 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.
-
- 17 2月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-
- 12 2月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-