Manifest of check-in
[eb7ef71fe1]
- Added thread mutex/release calls around the potentially contested regions of the code:
Mounting a file system
Unmounting a file system
Reading data from an archive file
The mutexes, as implemented, allow only one thread at a time access to the innerds of ZipVfs. It does not try to handle the cases where two archives may be open by two different threads. (One will still have to wait until the other has finished.)
Removed all of the compiler warnings under Unix
(Still have to test the code under Windows.)
by
hypnotoad on
2014-10-20 01:20:54.
B d4e9327ae2943c35bddb89b0f078db0e3299f713
C Added\sthread\smutex/release\scalls\saround\sthe\spotentially\scontested\sregions\sof\sthe\scode:\n\nMounting\sa\sfile\ssystem\nUnmounting\sa\sfile\ssystem\nReading\sdata\sfrom\san\sarchive\sfile\n\nThe\smutexes,\sas\simplemented,\sallow\sonly\sone\sthread\sat\sa\stime\saccess\sto\sthe\sinnerds\sof\sZipVfs.\sIt\sdoes\snot\stry\sto\shandle\sthe\scases\swhere\stwo\sarchives\smay\sbe\sopen\sby\stwo\sdifferent\sthreads.\s(One\swill\sstill\shave\sto\swait\suntil\sthe\sother\shas\sfinished.)\n\nRemoved\sall\sof\sthe\scompiler\swarnings\sunder\sUnix\n\n(Still\shave\sto\stest\sthe\scode\sunder\sWindows.)
D 2014-10-20T01:20:54.951
F generic/tclBootVfs.h ed1a2a03a425351584b308349e3fd1585a922805
F generic/tclZipVfs.c 08fe9a7fd8403c0191a83af300047ee252f9f521 x
F generic/tclZipVfsBoot.c 52e791c4fd97d3df43965469920f58d0099b203e
F unix/Makefile.in f69b7eb931a1bb56a84a0cb1d1f33ee4f7ab9c2f
F unix/tclAppInit.c b88bd9dd818a3f2a1505ab1f3319ffb8ca588e42
F win/Makefile.in 029a7d3866c223b0d79e4e52ee37726c73253730
F win/tclAppInit.c 1ef83fc5c5b476c9add0980b26a452ef2f73bfab
P 9edde824828a2ef370e3f767f34d249a8385cb80
R 05a62c27a79a5d3b045b03f4255c4e0d
U hypnotoad
Z 798d11846069d58a990f983a959bb4e5