From 3f0ae13c4b409bcf39d926f5e73d5eb0feff6eb3 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 23 Sep 2008 22:37:18 +0200 Subject: directory: update do its work inside a thread A lot of the preparation was needed (and done in previous months) in making update thread-safe, but here it is. This was the first thing I made work inside a thread when I started mpd-uclinux many years ago, and also the last thing I've done in mainline mpd to work inside a thread, go figure. --- src/directory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/directory.h') diff --git a/src/directory.h b/src/directory.h index ccd20501e..6a8ca733f 100644 --- a/src/directory.h +++ b/src/directory.h @@ -34,7 +34,7 @@ typedef struct _Directory { unsigned stat; /* not needed if ino_t == dev_t == 0 is impossible */ } Directory; -void readDirectoryDBIfUpdateIsFinished(void); +void reap_update_task(void); int isUpdatingDB(void); -- cgit v1.2.3