file-locking
How to ensure that when my process is operating on a file, no other process tries to write to it or delete it?
If my process is trying to read from a file, then how do I ensure from my code (C Language) that开发者_开发百科 no other process either writes to it or deletes it (include system commands for deleting[详细]
2023-01-19 01:18 分类:问答Collaborative Code Editing [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.[详细]
2023-01-16 05:44 分类:问答Easy way to lock a file on a remote machine (windows)?
I\'ve tracked down an error in my logs, and am trying to reproduce it. My theory is that a file sometimes gets locked in a specific folder, and when the application (ASP.NET) tries to delete that fold[详细]
2023-01-03 03:42 分类:问答Removing file locks in Windows and Java
I have a Java program that opens a file using the RandomAccessFile class. I\'d like to be able to rename that file while it is opened by Java. In Unix, this isn\'t a problem. Does anyone know how I c[详细]
2022-12-25 03:14 分类:问答File locked by which process?
Is there a way in .Net to find out exactly which process has locked a file? EDIT: I\'m doing this because I want to let my user know that they can\'t modify/open the file, because at the moment, ano[详细]
2022-12-23 06:17 分类:问答Deleting an Image that has been used by a WPF control
I would like to bind an Image to some kind of control an delete it later on. path = @\"c:\\somePath开发者_如何转开发\\somePic.jpg\"[详细]
2022-12-22 09:45 分类:问答How can my Linux daemon know when a Windows program has stopped writing a file that I access through SAMBA?
I\'m developing a system that interfaces with a USPS shipping package called Dazzle.Part of this system includes a monitoring daemon whose purpose is to take tab-separated value files, turn them into[详细]
2022-12-21 10:37 分类:问答Java FileLock for Reading and Writing
I have a process that will be called rather frequently from cron to read a file that has certain move related commands in it.My process needs to read and write to this data file - and keep it locked t[详细]
2022-12-20 10:45 分类:问答How to find out which thread is locking a file in java?
I\'m trying to delete a file that another thread within my program has previously worked with. I\'开发者_开发技巧m unable to delete the file but I\'m not sure how to figure out which thread may be us[详细]
2022-12-18 12:38 分类:问答twitter geocode to google maps
Hi Im trying to make this tutorial to work but Im having some difficulties. http://woorkup.com/2009/12/26/how-to-play-with-google-maps-and-twitter-api/[详细]
2022-12-17 09:27 分类:问答