lock_dot


Description:


public int lock_dot (string path) throws Error

Create an exclusive lock using .

lock semantics. All locks are equivalent to write locks (exclusive).

The function does nothing and returns success (zero), when dot locking had not been compiled.

Parameters:

path

a path to lock

Returns:

-1 on error, sets ex appropriately.


Namespace: Camel
Package: camel-1.2