Re: flock
| From: | Ivo Jansch | Date: | Mon, 01 Oct 2001 11:38:09 +0000 |
| Subject: | Re: flock | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1584@lists.php.net to get a copy of this message | ||
Hi,
Hans-Peter Oeri wrote:
It needs a way to ensure that read and write transactions do not occur simultaniously.Smarty does not do write transactions on this file, so in my opinion it's not Smarty's job to ensure this. Smarty should render the file as it exists on disk. If someone is editing it, than they'll just have to recompile once their done. Since they must do that anyway, I don't see a reason to do a flock here. Greetings, Ivo -- Ivo Jansch <ivo@ibuildings.nl> ibuildings.nl BV - information technology http://www.ibuildings.nl