diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-04-28 03:40:26 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-04-28 03:40:26 +0000 |
commit | a16e35856aaedbb02fd1b6c55afc12994dd639b6 (patch) | |
tree | a0c8d6d3387beaa60c64d013e585697bfb18d319 /nscd/nscd.h | |
parent | 0fdb4f42e49b92035f8531f086647e30da169693 (diff) | |
download | glibc-a16e35856aaedbb02fd1b6c55afc12994dd639b6.tar glibc-a16e35856aaedbb02fd1b6c55afc12994dd639b6.tar.gz glibc-a16e35856aaedbb02fd1b6c55afc12994dd639b6.tar.bz2 glibc-a16e35856aaedbb02fd1b6c55afc12994dd639b6.zip |
Update.
* nscd/connections.c (client_queued): New variable.
(nscd_run): Revamp the loop. Don't call poll except for cleanup
threads. Keep track of the number of delays caused because of busy
worker threads.
* nscd/nscd.h: Declare client_queued.
* nscd/nscd_stat.c: Transmit and print client_queued information.
Diffstat (limited to 'nscd/nscd.h')
-rw-r--r-- | nscd/nscd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nscd/nscd.h b/nscd/nscd.h index 89ac777273..73c94a5035 100644 --- a/nscd/nscd.h +++ b/nscd/nscd.h @@ -109,6 +109,9 @@ extern const char *server_user; /* Time the server was started. */ extern time_t start_time; +/* Number of times clients had to wait. */ +extern unsigned long int client_queued; + /* Prototypes for global functions. */ /* nscd.c */ |