Re: [PHP-DEV] record locking From: Mark Musone (musone <email protected>)
Date: 01/31/99

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 <email protected>
> | for PGP public key
>
> --
> PHP Development Mailing List http://www.php.net/
> To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
> For help: php-dev-help <email protected>
>
>

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>