projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
audio chan pos rework, batchrender deadlock, titler/crikey grab_event tweak, thread...
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
cachebase.h
diff --git
a/cinelerra-5.1/cinelerra/cachebase.h
b/cinelerra-5.1/cinelerra/cachebase.h
index ae37fbb4d5f9a1910eeee93dd946c84b17b76718..a548891abede571876ac2e51efd0d36d474b2180 100644
(file)
--- a/
cinelerra-5.1/cinelerra/cachebase.h
+++ b/
cinelerra-5.1/cinelerra/cachebase.h
@@
-78,7
+78,8
@@
public:
// Called when done with the item returned by get_.
// Ignore if item was 0.
void unlock();
// Called when done with the item returned by get_.
// Ignore if item was 0.
void unlock();
-// delete oldest member, returns 1 if item deleted or 0 if none found
+// Delete oldest item.
+// Return number of bytes freed if successful. Return 0 if nothing to delete.
int delete_oldest();
// Calculate current size of cache in bytes
int64_t get_memory_usage();
int delete_oldest();
// Calculate current size of cache in bytes
int64_t get_memory_usage();