Ulrich Drepper 5228ba2fe8 * nscd/nscd.h (struct database_dyn): Add inotify_descr and clear_cache
fields.
	* nscd/connections.c (inotify_fd): New variable.
	(nscd_init): Try to open an inotify descriptor.
	If successful, watch files for databases using inotify instead of
	having prune threads stat the files.
	(nscd_run_prune): Recognize clear_cache flag being set and call
	prune_cache appropriately.
	(main_loop_poll): Add inotify descriptor to wait set and handle the
	reported changes.
	(main_loop_epoll): Likewise.
	* nscd/cache.c (prune_cache): Don't stat files for databases if
	inotify is used.
	* sysdeps/unix/sysv/linux/Makefile [subdir=nscd]
	(CFLAGS-connections.c): Add -DHAVE_INOTIFY.
2008-06-12 22:40:27 +00:00
..
2004-02-17 05:16:49 +00:00
2008-03-04 01:54:09 +00:00
2007-10-13 23:04:40 +00:00
2007-10-13 23:04:40 +00:00
2007-10-13 23:04:40 +00:00
2008-03-04 01:54:09 +00:00
2007-01-31 23:16:14 +00:00
2008-03-29 18:12:46 +00:00
.
2007-07-31 13:33:18 +00:00
2007-08-22 03:14:29 +00:00