ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Urlader/Urlader.pm
(Generate patch)

Comparing Urlader/Urlader.pm (file contents):
Revision 1.8 by root, Mon Feb 6 22:09:40 2012 UTC vs.
Revision 1.9 by root, Sun Jun 17 12:56:16 2012 UTC

254will be created if necessary). If C<$exclusive> is true, then it tries to 254will be created if necessary). If C<$exclusive> is true, then it tries to
255acquire an exclusive lock, otherwise the lock will be shared. If C<$wait> 255acquire an exclusive lock, otherwise the lock will be shared. If C<$wait>
256is true, then it will wait until the lock can be acquired, otherwise it 256is true, then it will wait until the lock can be acquired, otherwise it
257only attempts to acquire it and returns immediately if it can't. 257only attempts to acquire it and returns immediately if it can't.
258 258
259If successful it returns a lock object - the lock will be given up 259If successful it returns a lock object - the lock will be given up when
260when the lock object is destroyed. 260the lock object is destroyed or when the process exits (even on a crash)
261and has a good chance of working on network drives as well.
261 262
262If the lock could not be acquired, C<undef> is returned. 263If the lock could not be acquired, C<undef> is returned.
263 264
264This function will probably go awway in the future, but is provided to 265This function is provided to assist applications that want to clean up old
265assist applications that want to clean up old versions, see "TIPS AND 266versions, see "TIPS AND TRICKS", below.
266TRICKS", below.
267 267
268=cut 268=cut
269 269
2701; 2701;
271 271

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines