Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright dates with scripts/update-copyrights. | Joseph Myers | 2016-01-04 | 1 | -1/+1 |
| | |||||
* | Rename bits/stdio-lock.h to stdio-lock.h (bug 14912). | Joseph Myers | 2015-09-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | It was noted in <https://sourceware.org/ml/libc-alpha/2012-09/msg00305.html> that the bits/*.h naming scheme should only be used for installed headers. This patch renames bits/stdio-lock.h to plain stdio-lock.h to follow that convention. Tested for x86_64 (testsuite, and that installed stripped shared libraries are unchanged by the patch). [BZ #14912] * bits/stdio-lock.h: Move to ... * sysdeps/generic/stdio-lock.h: ...here. (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H. * sysdeps/nptl/bits/stdio-lock.h: Move to ... * sysdeps/nptl/stdio-lock.h: ...here. (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H. * include/libio.h: Include <stdio-lock.h> instead of <bits/stdio-lock.h>. * sysdeps/nptl/fork.c: Likewise. * sysdeps/pthread/flockfile.c: Likewise. * sysdeps/pthread/ftrylockfile.c: Likewise. * sysdeps/pthread/funlockfile.c: Likewise. | ||||
* | Add and use new glibc-internal futex API. | Torvald Riegel | 2015-07-10 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | This adds new functions for futex operations, starting with wait, abstimed_wait, reltimed_wait, wake. They add documentation and error checking according to the current draft of the Linux kernel futex manpage. Waiting with absolute or relative timeouts is split into separate functions. This allows for removing a few cases of code duplication in pthreads code, which uses absolute timeouts; also, it allows us to put platform-specific code to go from an absolute to a relative timeout into the platform-specific futex abstractions.. Futex operations that can be canceled are also split out into separate functions suffixed by "_cancelable". There are separate versions for both Linux and NaCl; while they currently differ only slightly, my expectation is that the separate versions of lowlevellock-futex.h will eventually be merged into futex-internal.h when we get to move the lll_ functions over to the new futex API. | ||||
* | Fix wake-up in sysdeps/nptl/fork.c. | Torvald Riegel | 2015-01-13 | 1 | -1/+1 |
| | |||||
* | Update copyright dates with scripts/update-copyrights. | Joseph Myers | 2015-01-02 | 1 | -1/+1 |
| | |||||
* | NPTL: Move fork state variables to initializer files. | Roland McGrath | 2014-12-17 | 1 | -8/+0 |
| | |||||
* | Don't touch user-controlled stdio locks in forked child (bug 12847) | Andreas Schwab | 2014-12-10 | 1 | -1/+2 |
| | | | | | The stdio locks for streams with the _IO_USER_LOCK flag should not be touched by internal code. | ||||
* | pthread_once: Clean up constants. | Torvald Riegel | 2014-10-20 | 1 | -1/+2 |
| | | | | [BZ #15215] This just gives a name to the integer constants being used. | ||||
* | NPTL is no longer an add-on! | Roland McGrath | 2014-07-07 | 1 | -1/+1 |
| | |||||
* | Get rid of nptl/sysdeps/ entirely! | Roland McGrath | 2014-07-07 | 1 | -0/+238 |