|
Re: umm?
Posted by Matt Leese at 1/12/2001 7:48 PM EST
Other on team #73, Tigerbolt, from Edison Technical HS and Alstom & Rochester Institute of Technology.
In Reply to: umm?
Posted by Kate T190 on 1/12/2001 7:41 PM EST:
flock() stands for file lock, I believe. It allows a file to only have one instance open. Therefore, you can't have two different programs writing to the same file at once. In the case of CD different people can be making comments at the same exact time and the Perl script that runs the site (least I think it's Perl) executes once per person. Each one of those instances of the Perl script will open the file and both will write to at once. Basically bad stuff happens then.
Matt who realizes he's way too much of a CS nerd even if he's a CE major.....
__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
|