[Ohrrpgce] SVN: teeemcee/10564 Remove non-threadsafe filenames map from filelayer.cpp, instead store th
subversion at HamsterRepublic.com
subversion at HamsterRepublic.com
Thu Aug 30 22:58:35 PDT 2018
teeemcee
2018-08-30 22:58:35 -0700 (Thu, 30 Aug 2018)
468
Remove non-threadsafe filenames map from filelayer.cpp, instead store the names in openfiles[]
filelayer.cpp is now almost threadsafe except for dump_openfiles()
Also, even if a OPENFILE-opened file isn't fully hooked, always hook CLOSE. The
effect of this is that get_filename() now reliably either returns the filename
(if it was opened with OPENFILE) or says that it doesn't known it. Previously it
could return a stale filename value if it wasn't a hooked file.
---
U wip/common.rbas
U wip/filelayer.cpp
U wip/lumpfile.bas
More information about the Ohrrpgce
mailing list