aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorMax Horn2005-05-14 22:21:54 +0000
committerMax Horn2005-05-14 22:21:54 +0000
commit9b9e8424c12024015e0b697222ba0266b0ede5f5 (patch)
treea1cff3b3f1831265275ff9aaf03c30bd7c783e50 /TODO
parentdb123a9e7aed6c068bdc26a76ec3bcf752227f6a (diff)
downloadscummvm-rg350-9b9e8424c12024015e0b697222ba0266b0ede5f5.tar.gz
scummvm-rg350-9b9e8424c12024015e0b697222ba0266b0ede5f5.tar.bz2
scummvm-rg350-9b9e8424c12024015e0b697222ba0266b0ede5f5.zip
Added a TODO for file code
svn-id: r18096
Diffstat (limited to 'TODO')
-rw-r--r--TODO10
1 files changed, 9 insertions, 1 deletions
diff --git a/TODO b/TODO
index e3a9f12bbc..bad85ad763 100644
--- a/TODO
+++ b/TODO
@@ -184,7 +184,15 @@ Files
- convert said string representation back to FSNode
Of course that can be added w/o a FileManager class, too - but it might be
nice to have all of these integrated.
-* Add error handling API to SaveFile
+* Get rid of the incRef/decRef API of class File. Instead, add a clone() method
+ which generates a new (independant) File object for the same file (only would
+ work for files in read mode, obviously). Convert the audio code to use this
+ instead of the ref counting.
+ Reason: Using a shared file object can lead to race conditions if multiple
+ threads try to use it at the same time; on some systems (Symbian) it is
+ apparently not even possible to do it; iahd t can also cause problems even in
+ non-threaded code, when we seek in one block of code, and then try to access it
+ from another block, w/o reseeking first.
GUI
===