XML-Twig - Re: Explorer crashing while writing into XML

Posted on Thu Aug 31 16:24:48 2006 by mirod in response to 2874 (See the whole thread of 6)
Re: Explorer crashing while writing into XML

What do the logs tell you? As long as you don't look at the error file, your debugging is going to be just taking shots in the dark.

BTW, does flock work on Windows?

The last time I used locking (a while ago), I did not lock the file itself, but used a dedicated lock file:

use Fcntl; my $LOCK_FILE= "db.lock"; open LOCK, ">$LOCK_FILE" || die "Can't open lock file\n"; flock( LOCK, LOCK_EX) || die "Error $ERRNO during lock\n";

Does this help?

Direct Responses: 2882 | Write a response