diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-04-06 13:13:54 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-04-06 13:13:54 +0000 |
commit | 4537b1e9ec3064c1c8a18dd0c433bfafb04c0d26 (patch) | |
tree | ea06c8c7abbc6abc39b20ef6239afe29fd994a72 | |
parent | c5d760e28138c194a0742df20b0bd220e6d47d55 (diff) | |
download | mpd-4537b1e9ec3064c1c8a18dd0c433bfafb04c0d26.tar.gz mpd-4537b1e9ec3064c1c8a18dd0c433bfafb04c0d26.tar.xz mpd-4537b1e9ec3064c1c8a18dd0c433bfafb04c0d26.zip |
updates to non-blocking update plan
git-svn-id: https://svn.musicpd.org/mpd/trunk@611 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r-- | TODO | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,8 +1,10 @@ 1) non-blocking (for other clients) update a) have two commands, one that blocks and returns updated info and another command that doesn't block b) allow incremental updating, either a directory recursively or a specific song - c) haven another command for updating that blocks, but doesn't write the db file - d) add a command for flushing the db, and flush the db and SIGTERM/SIGINT - e) spawn a update process in the beginning (this will be faster for simple updates, involving only a few songs or directories). + c) fork on update + d) have a special case where if a update is in a command list, it only forks at the beginning of the list, and writes at the end of the command list + e) add an element to status stating the "update state" f) only pass back changed info to parent g) only pass mtimes and paths to child + +2) rewrite interface stuff, specifically command list handling etc so its less of a hack and deals with the above update stuff better |