diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-04-11 20:14:10 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-04-11 20:14:10 +0000 |
commit | 0a326a43232da9382d4ef577caa82bf0ef59cb41 (patch) | |
tree | 65d5ee2ea949761c60b7d9a90c726a3f74065f2c /TODO | |
parent | abc075c4319ebda03ddcc2bfb4ff5d54596eb92d (diff) | |
download | mpd-0a326a43232da9382d4ef577caa82bf0ef59cb41.tar.gz mpd-0a326a43232da9382d4ef577caa82bf0ef59cb41.tar.xz mpd-0a326a43232da9382d4ef577caa82bf0ef59cb41.zip |
mackstann's idea for polling signals
git-svn-id: https://svn.musicpd.org/mpd/trunk@695 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 17 |
1 files changed, 14 insertions, 3 deletions
@@ -1,7 +1,16 @@ 1) non-blocking (for other clients) update - j) when reading new directory db, we should block some signals when manipulating the directorydb, so we don't receive a signal to quit in the middle of an update - k) when bg-update, have parent print out new old stuff to log on reading db, not the child - l) IMPORTANT: look over new command list shiznit and make it much cleaner, please! (in particular, move buffer2array code from interface.c to command.c, and have command stuff do buffer2array) + j) when reading new directory db, we should block some signals when + manipulating the directorydb, so we don't receive a signal to + quit in the middle of an update + k) when bg-update, have parent print out new old stuff to log on + reading db, not the child + l) IMPORTANT: look over new command list shiznit and make it much + cleaner, please! (in particular, move buffer2array code from + interface.c to command.c, and have command stuff + do buffer2array) + m) MOST IMPORTANT: update needs to deal better with directories/files + that don't exist in the db, but do exit in the fs (i.e. + calling updated on a newly created file). 2) rewrite interface stuff, specifically command list handling etc so its less of a hack and deals with the above update stuff better @@ -10,3 +19,5 @@ 4) thourougly rewrite and check signal blocking and unblocking 5) add a --update-only, like --only-create-db, only just for updating + +6) use mackstann's idea of "polling" for signals instead of handling them right away, i .e. set some variables and in the sigHandler, then deal with it in select(), while loop |