mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
* sysdeps/generic/nscd_setup_thread.c: New file.
* sysdeps/unix/sysv/linux/nscd_setup_thread.c: New file.
This commit is contained in:
parent
081fc592fa
commit
67a0b49db3
@ -9,6 +9,8 @@
|
||||
* nscd/nscd.h: Declare setup_thread.
|
||||
* nscd/nscd_helper.c (__nscd_get_map_ref): Avoid the time test if
|
||||
nscd_certainly_running is nonzero.
|
||||
* sysdeps/generic/nscd_setup_thread.c: New file.
|
||||
* sysdeps/unix/sysv/linux/nscd_setup_thread.c: New file.
|
||||
|
||||
2004-09-08 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
|
@ -179,8 +179,8 @@ struct database_pers_head
|
||||
{
|
||||
int version;
|
||||
int header_size;
|
||||
int gc_cycle;
|
||||
int nscd_certainly_running;
|
||||
volatile int gc_cycle;
|
||||
volatile int nscd_certainly_running;
|
||||
volatile time_t timestamp;
|
||||
|
||||
size_t module;
|
||||
@ -233,7 +233,7 @@ extern int __nscd_open_socket (const char *key, size_t keylen,
|
||||
extern struct mapped_database *__nscd_get_map_ref (request_type type,
|
||||
const char *name,
|
||||
struct locked_map_ptr *mapptr,
|
||||
int *gc_cyclep);
|
||||
volatile int *gc_cyclep);
|
||||
|
||||
/* Unmap database. */
|
||||
extern void __nscd_unmap (struct mapped_database *mapped);
|
||||
|
@ -212,7 +212,7 @@ get_mapping (request_type type, const char *key,
|
||||
|
||||
struct mapped_database *
|
||||
__nscd_get_map_ref (request_type type, const char *name,
|
||||
struct locked_map_ptr *mapptr, int *gc_cyclep)
|
||||
struct locked_map_ptr *mapptr, volatile int *gc_cyclep)
|
||||
{
|
||||
struct mapped_database *cur = mapptr->mapped;
|
||||
if (cur == NO_MAPPING)
|
||||
|
Loading…
Reference in New Issue
Block a user