Lines Matching refs:lockfh
19 protected $lockfh; variable in action_plugin_tokenbucketauth
32 $this->lockfh = null;
203 $this->lockfh = fopen($lockf, 'w', false);
205 if($this->lockfh === false)
208 if(flock($this->lockfh, LOCK_EX) === false)
210 fclose($this->lockfh);
211 $this->lockfh = null;
223 if(!is_null($this->lockfh))
225 flock($this->lockfh, LOCK_UN);
226 fclose($this->lockfh);
227 $this->lockfh = null;