summaryrefslogtreecommitdiffstats
path: root/win/tclWinInt.h
Commit message (Collapse)AuthorAgeFilesLines
* filesystem fixes backportedvincentdarley2003-04-141-2/+7
|
* finalization and test fixesvincentdarley2003-02-041-2/+3
|
* WinTcl crash on exit fixvincentdarley2003-01-101-1/+2
|
* non-ascii chars in file mtime fixvincentdarley2003-01-091-1/+4
|
* comments addedvincentdarley2002-10-291-1/+8
|
* vfs, winfs testsuitevincentdarley2002-06-131-1/+3
|
* fs clarification and windows fixesvincentdarley2002-06-121-2/+10
|
* * generic/tclAlloc.c:hobbs2002-04-231-1/+8
| | | | | | | | | | | | | | | * generic/tclInt.h: * generic/tclThreadAlloc.c (new): * unix/Makefile.in: * unix/tclUnixThrd.c: * win/Makefile.in: * win/tclWinInt.h: * win/tclWinThrd.c: added new threaded allocator contributed by AOL that significantly reduces lock contention when multiple threads are in use. Only Windows and Unix implementations are ready, and the Windows one may need work. It is only used by default on Unix for now, and requires that USE_THREAD_ALLOC be defined (--enable-threads on Unix will define this).
* win/tclWinInt.h: moved undef of TCL_STORAGE_CLASS. [Bug #478579]hobbs2002-03-221-3/+3
|
* win fs fixesvincentdarley2001-10-291-1/+4
|
* * generic/tclInt.decls: Also added 'TclWinFlushDirtyChannels' toandreas_kupries2001-09-101-3/+1
| | | | | | | | | | | the internal platform specific stub table. * win/tclWinFile.c (TclpObjStat): Now added the call to 'TclWinFlushDirtyChannels' to this function. I don't know where my head was last thursday (2001-09-06), but the call was actually added to 'TclpObjChdir', i.e. the implementation of [cd]. Corrected this now. Thanks to Vince Darley for spotting this.
* * All the changes below serve to fix bug [219148] which reports aandreas_kupries2001-09-071-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 80x performance hit for file I/O on Win* systems. On my system it was closer to a 120x hit. Problem report by Uwe Traum <no email address available>. The fix goes like this: The obstacle is 'FlushFileBuffers', executed whenever Tcl writes data to the OS, as Tcl has to wait for the disk to complete I/O, and disks are slow. We remove that obstacle. This opens another problem, [file size] reports back wrong numbers. So for [file size] we add the call back in. As optimization we keep track of the channels which were written to and flush only these. * win/tclWinFile.c (TclpObjStat): Added a call to 'TclWinFlushDirtyChannels'. This ensures that [file size] and related commands report the correct size of a file even if Tcl has recently written to it. Unixoid OS's always report the correct size even for files with pending data, but Win* syssystem don't. They only report what is actually on disk. * win/tclWinInt.h: Added declaration of 'TclWinFlushDirtyChannels', making it available to other parts of the tcl core. * win/tclWinChan.c (TclWinFlushDirtyChannels): New, internal, procedure. Goes through the list of open file channels and forces the OS to flush its file buffers for all which were written to since the last call of this function. This is an expensive operation as Tcl has to wait for the OS to complete actual writes to the disk. (FileInfo): Added dirty flag required by the procedure above. (FileOutputProc): Removed flushing of file buffers, setting the dirty flag instead. This means that the previously incurred delays do not happen anymore. (TclWinOpenFileChannel): Added initialization of 'dirty' flag.
* Removed tclWinTCharEncoding (static variable in win/tclWin32Dll.c)dkf2001-03-261-2/+1
|
* Move functions declarations out of win/tclWinInt.h that are now inredman1999-08-031-4/+1
| | | | generic/tclInt.decls
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-6/+62
|
* Merged stubs changes into mainline for 8.0stanton1999-03-101-4/+14
|
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* EXPORT is now TCL_STORAGE_CLASSescoffon1998-08-041-4/+4
|
* - added setting of EXPORT to DLLEXPORT if we are building Tcl.escoffon1998-07-291-0/+7
|
* *** empty log message ***stanton1998-04-291-1/+2
|
* Initial revisionrjohnson1998-03-261-0/+38