Hoa central
Lockable.php
Go to the documentation of this file.
1 <?php
2 
37 namespace Hoa\Stream\IStream;
38 
47 interface Lockable
48 {
54  const LOCK_SHARED = LOCK_SH;
55 
61  const LOCK_EXCLUSIVE = LOCK_EX;
62 
68  const LOCK_RELEASE = LOCK_UN;
69 
75  const LOCK_NO_BLOCK = LOCK_NB;
76 
77 
78 
86  public function lock($operation);
87 }