![]() ![]() Log file in order to record some information, and the handle to theĭeleted file is recycled as the handle to the log file. ![]() Gotten stuck temporarily and you want to delete the file, so you ![]() Suppose a search index service has a file open for indexing but has Just be very careful with closing handles it's even more dangerous than you'd think, because of handle recycling - if you close the file handle, and the program opens something else, that original file handle you closed may be reused for that "something else." And now guess what happens if the program continues, thinking it is working on the file (whose handle you closed), when in fact that file handle is now pointing to something else. ![]()
0 Comments
Leave a Reply. |