}
function acquireForMe() {
- $section = new ProfileSection( __METHOD__ );
$status = $this->precheckAcquire();
if ( !$status->isGood() ) {
}
function acquireForAnyone() {
- $section = new ProfileSection( __METHOD__ );
$status = $this->precheckAcquire();
if ( !$status->isGood() ) {
}
function release() {
- $section = new ProfileSection( __METHOD__ );
if ( $this->slot === null ) {
return Status::newGood( PoolCounter::NOT_LOCKED ); // not locked