Re: record locking
| From: | Mark Musone | Date: | Sun, 31 Jan 1999 07:01:37 +0000 |
| Subject: | Re: record locking | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-3796@lists.php.net to get a copy of this message | ||
the UW imap library has a set of very portable file locking functions,
(UW imap supports some 50+ platforms, include dos/amiga..etc...(
they will also fall back to the "best" file locking for that OS/filesystem..
it might be worth taking a look into...
Mark
>
> I'm wondering in which way record locking could be integrated into PHP. If you
> have followed the discussion on the general mailing list, the consensus was
> something on the line to support ``a portable flock.'' Well, this should not
> be a big problem, there is at least one way to do that on every Unix flavor.
>
> Anyway, since PHP seems to have a need for flock (e.g. in functions/db.c),
> I'll add a more portable emulator using fcntl(). I don't know where to put it
> currently (maybe compat.c?), so if someone could suggest a good place...
>
> --
>
> Regards,
>
> Sascha Schumann |
> Consultant | finger sas@schell.de
> | for PGP public key
>
> --
> PHP Development Mailing List http://www.php.net/
> To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
> For help: php-dev-help@lists.php.net
>
>
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net