OpenGrok
Cross Reference: res_state.c
xref
: /
src
/
lib
/
libpthread
/
res_state.c
Home
|
History
|
Annotate
|
Download
|
only in
libpthread
History log of
/src/lib/libpthread/res_state.c
Revision
Date
Author
Comments
1.8
15-Dec-2024
riastradh
libpthread: Zero-initialize res_state objects.
PR lib/58888
1.7
12-Feb-2022
riastradh
branches: 1.7.2; 1.7.4;
libpthread: Move namespacing include to top of .c files.
Stuff like libc's namespace.h, or atomic_op_namespace.h, which does
namespacing tricks like `#define atomic_cas_uint _atomic_cas_uint',
has to go at the top of each .c file. If it goes in the middle, it
might be too late to affect the declarations, and result in compile
errors.
I tripped over this by including <sys/atomic.h> in mips
<machine/lock.h>.
(Maybe we should create a new pthread_namespace.h file for the
purpose, but this'll do for now.)
1.6
28-Apr-2008
martin
branches: 1.6.8; 1.6.66;
Remove clause 3 and 4 from TNF licenses
1.5
13-Nov-2007
ad
branches: 1.5.6;
For PR bin/37347:
- Override __libc_thr_init() instead of using our own constructor.
- Add pthread__getenv() and use instead of getenv(). This is used before
we are up and running and unfortunatley getenv() takes locks.
Other changes:
- Cache the spinlock vectors in pthread__st. Internal spinlock operations
now take 1 function call instead of 3 (i386).
- Use pthread__self() internally, not pthread_self().
- Use __attribute__ ((visibility("hidden"))) in some places.
- Kill PTHREAD_MAIN_DEBUG.
1.4
03-Jun-2004
christos
branches: 1.4.18;
simplify and make more efficient (YAMAMOTO Takashi)
1.3
24-May-2004
christos
Oops, forgot to commit this.
1.2
22-May-2004
christos
Provide access to _res in the non-threaded case, and abort in the threaded
case.
1.1
21-May-2004
christos
add pool code for res state.
XXX: could be more efficient.
1.4.18.1
09-Jan-2008
matt
sync with HEAD
1.5.6.1
18-May-2008
yamt
sync with head.
1.6.66.1
15-Dec-2024
martin
Pull up following revision(s) (requested by riastradh in ticket #1930):
lib/libpthread/res_state.c: revision 1.8
libpthread: Zero-initialize res_state objects.
PR lib/58888
1.6.8.2
28-Apr-2008
martin
Remove clause 3 and 4 from TNF licenses
1.6.8.1
28-Apr-2008
martin
file res_state.c was added on branch christos-time_t on 2008-04-28 20:23:03 +0000
1.7.4.1
02-Aug-2025
perseant
Sync with HEAD
1.7.2.1
15-Dec-2024
martin
Pull up following revision(s) (requested by riastradh in ticket #1029):
lib/libpthread/res_state.c: revision 1.8
libpthread: Zero-initialize res_state objects.
PR lib/58888
Indexes created Tue Sep 30 20:09:53 GMT 2025