diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2006-07-25 10:44:19 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2006-07-25 10:44:19 +0000 |
commit | 7136fd9bb6f589ae873057aa9731c45f17a7b339 (patch) | |
tree | 11ca03b864576e1c1ba37d51ea8ca65e8dd73d6c /apps/tagcache.c | |
parent | 4e6c79b42ee4e299f13d63552aa4145a0abf41fb (diff) | |
download | rockbox-7136fd9bb6f589ae873057aa9731c45f17a7b339.tar.gz rockbox-7136fd9bb6f589ae873057aa9731c45f17a7b339.zip |
Nice diagram explaining better tagcache internals.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10316 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r-- | apps/tagcache.c | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c index 280f45d695..f903de5190 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c | |||
@@ -17,6 +17,42 @@ | |||
17 | * | 17 | * |
18 | ****************************************************************************/ | 18 | ****************************************************************************/ |
19 | 19 | ||
20 | /* | ||
21 | * TagCache API | ||
22 | * | ||
23 | * ----------x---------x------------------x----- | ||
24 | * | | | External | ||
25 | * +---------------x-------+ | TagCache | Libraries | ||
26 | * | Modification routines | | Core | | ||
27 | * +-x---------x-----------+ | | | ||
28 | * | (R/W) | | | | | ||
29 | * | +------x-------------x-+ +-------------x-----+ | | ||
30 | * | | x==x Filters & clauses | | | ||
31 | * | | Search routines | +-------------------+ | | ||
32 | * | | x============================x DirCache | ||
33 | * | +-x--------------------+ | (optional) | ||
34 | * | | (R) | | ||
35 | * | | +-------------------------------+ +---------+ | | ||
36 | * | | | DB Commit (sort,unique,index) | | | | | ||
37 | * | | +-x--------------------------x--+ | Control | | | ||
38 | * | | | (R/W) | (R) | Thread | | | ||
39 | * | | | +----------------------+ | | | | | ||
40 | * | | | | TagCache DB Builder | | +---------+ | | ||
41 | * | | | +-x-------------x------+ | | | ||
42 | * | | | | (R) | (W) | | | ||
43 | * | | | | +--x--------x---------+ | | ||
44 | * | | | | | Temporary Commit DB | | | ||
45 | * | | | | +---------------------+ | | ||
46 | * +-x----x---x---x--+ | | ||
47 | * | TagCache RAM DB x==\(W) +-----------------+ | | ||
48 | * +-x----x---x---x--+ \===x | | | ||
49 | * | | | | (R) | Ram DB Loader x============x DirCache | ||
50 | * +-x----x---x---x---+ /==x | | (optional) | ||
51 | * | Tagcache Disk DB x==/ +-----------------+ | | ||
52 | * +------------------+ | | ||
53 | * | ||
54 | */ | ||
55 | |||
20 | #include <stdio.h> | 56 | #include <stdio.h> |
21 | #include "thread.h" | 57 | #include "thread.h" |
22 | #include "kernel.h" | 58 | #include "kernel.h" |