From 471514d39d03ef96096767651ecce30630e64c1e Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Thu, 7 Feb 2013 14:28:53 -0500 Subject: Refactor code out of nscd's two main poll loops. We refactor the inotify file checking code and the database clearing code out of the main_loop_poll and mail_loop_epoll functions. We document some the related functions with appropriate comments. --- ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index ab411fdc9a..7eb2265246 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2013-02-08 Carlos O'Donell + + * nscd/connection.c (register_traced_file): Comment function. + [HAVE_INOTIFY] (union __inev): Define. + [HAVE_INOTIFY] (inotify_check_files): New function. + [HAVE_INOTIFY] (clear_db_cache): Likewise. + [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and + clear_db_cache. + [HAVE_INOTIFY] (main_loop_epoll): Likewise. + 2013-02-08 Carlos O'Donell * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is -- cgit 1.4.1